`next_page_number` should be removed (while loop condition changes to True and add a break). This would remove the arbitrariness of setting `next_page_number` = 0.