Created some clock code.