add totals to the table data and correct some of the data