Changed the printed output to be correct (based on the headings)