initial progress bar implementation