updatd totals section and logic