pairs_to_include functional