adding basic pairwise combination