cleanup with a clock feature