exchange the position of cost and diancan