loop added to get weather for 5 day forecast