create a clock