stop at the right moment