background thread for fetching data is setup