converted progress reporting to a progress bar