added subtotals to balance envelopes