hook up progress bar