removed getCost printing