Added manual timing control.