Added stuff for progress bar to implement later.