adding progress bar