Add titles to structure