Replaced response with response.data