added the timer