Added function to show progress bar for #10