add reversePair