Making A Clock From Scratch