evaluationFunction a little bit modify