made a for loop