changed to display the time on the spot