add pause button, timer animation, generalize timer