Changing the timer logic.