restructure headings