Text this: OPTIMIZATION OF A MECHANISM WITH STOPS