made page_info as a single dimensional array