using injected response object

Reason attached in commit comment.