Working findRepeats