expanded "if" to other weather data