added totals example for csv