more readable for loop