added pairwise table