Evaluator and some code in Ranker