simplify pipe_clock