Adding Complex Cost Evaluation