pairing handler