Pairs of words