Example code for the clock