adding progress indicator