simplify setClock