add pause/resume button (not working yet)