Extracted Clock functionality