Cleaned Code- Forecast System