MDNcost etc