add progress bar (hw4 step5)