added retrieveResponse