create the clock