small changes in Timer Interrupt