adding in progress bar