correct contains-repeats stuff