finish headings