added totals to composed view