formatting questions and progress bar