fixed bug and changed over to cpairs pair counter