add two new tables plus maintenance code for cumulative totals