added functionality to make night map control day map