make the resultexpr also a comparison