add titles to all of the pages