very basic pairing functionality