adding subtotal and grand total calculations