move CLock to user interface