changed timer0 to timer1