use for loop