Removes repetitions