now can run on device, as well as get real data on refresh