remove unused getWeather function