Refactored to isolate data for page, questions, and next pages