check the repeats