Filled out clock functionality to allow for custom events to be queued and fired.