new ProgressBar class