added a better progress bar