Bug fixed for last second was not firing
clean implementation of timer