The variable `r` does not exist in this scope. Replace with `response`.