Revert equal method