Functional clock