add cost model