removed explicit response code check