added the clock feature