need to access 'data' property of response object