started implementation of clock