changed the timer interface