-Changed some stuff in resEval()