cost() not well-defined. remove.