Added method to find subtotal