Similarly, the control variable in the 'for' loop should be hidden like the state, and not the first variable declared in the loop.