adding progress bar functionality