Refactored the headings to be defined inline