proper for loop