day-night and lighting working correctly