How to Repair Clocks