deleting repeats