Implemented basic clock