removed extra repetition