added a progress bar