added the pause/resume options