dealing with similarTo and sameAs