new clock handling