totalQuantity isn't working