No need to declare this outside the loop, as it will be hoisted up to the function level when executed anyway.