Implemented Pairwise