before for loop