select-one-from-repeats