edit pairMeasure