working on pairing devices