partially working progressbar