Added the ability to add a LineItem and extend the lineItems array