adding in progress bar for loading