refactor equals