using helpers to calculate total