persistence and progress bar