switching best_value to value