updated with clock