add a mapping for response codes