gprs code for ref