this is the addition of the timer class