add "pairing" plots and code