changed references to emccode