Added getRequired and getDayNight