adding response codes