added pairwise testing