Eliminating repetions