adding the titles to the new pages