center quantity
calculate totals