formatting, fixed get_temp for night