don't declare variables inside loops