sameEnds