add pause/resume