added headings and finalized formatting