allow easier testing for progress bar