This is closer to what we need. Totals are still buggy though
Fixed Issue #1. Summary at bottom is now accurate