code for forecast reference data string simplified