Adding for loop section