Adds dynamic headings