initiating the progress bar