clock implemented