tidied up the way I define the headings