Refactored to lower the chance of stormy weather
Refactoring the check_weather method