changed the name of function timer1_init() to timer_init()