pass response object