edited the timer interrupt