FUNCTIONING CLOCK