added duration of sunlight calc