sample_pairs