adding timer.c