Pairing and some other bits