Update timer.c

finally