enable pause, resume and stop