working but only in pairing mode