added the main ISR_timer1 subroutine