Implementing clock