add titles to pages