The repetition of this line seems unnecessary to me