updated init and routing for timer0