change page_objects to array