improved timers logic