call to api works and we get data back