Fixed table generation
Added a section for the table to print