Start of getForecast and getEvents methods