properly resetting the timers