Initial implementation of clocking