removed unused get-item-cost function