saved old cnn_cost for testing