working on the timer