updated app to show running total per table