added pairwise benchmark