adding temperature to pool_summary, refactoring totals