doing progress event and loading indicator