adding progressbar