created for loop