done with clock.v