refactored accessing of forecast data