adding not-pairo and tests