Modify output format to provide running totals.