Pairing and then if