collects and totals columns