add headings for variable sections