made 5-day forecast into a loop