returning meaningful response codes