added clock feature