use a for loop