add a progressbar