simplify rpr
line up removePair