adding a clock