working on pairing