Issue8 add totals logging