Modifying code related to the timer