adding titles to pages