The statement used a variable from outside of the function and redefined that variable on the same line when it was unnecessary. Cleaning up the code so it's easier to understand.