expanded the model to include the cost eq