all data in, changed to api useage