Repetitions Deleted

The code had some repetitions