Added the equality function