Added functionality to the clock.