trying to detect repeats