for loop & scope are added