keep track of the time and display it