use new progressbar api