CLOCK evolved in cnidaria to synchronize internal rhythms with diel environmental cues