changed match-args so object pairs are sets (which probably won't work)