Made equals much simpler