Update timer.c

Alex commit