refactored where the forcast call was being made