changed progress bar to show percentage