Adding the progress bar