create for loop