adding code to show the timer