progress bar outside for