Added commented out fcn for progress bar