created async task for fetching data