Got dynamic totals working