a clock works