made dataFetcher func