Altered progress bar

progressBar is a function so had to rename