moved clock to thr interface