implements evaluation.