add func for making new multi-attributecomparison