Add pairwise method