Cycle definition day and night