Repairing timing for the timerFunctions