It looks like response will be undefined because it's out of scope.