added retcode defines