remove excess headings and documentation