switch of day/night added