add a for loop