refactoring EvalTemplate
refactoring EvalTemplate