complete data fetching and storing