adding progress bar
progress bar works