compare as set