finished up to page_insert