edits to inserting pages