async tasks when loading data