Clock update

Copied in the confirmed working clock file