added totals methods