Correcting clock