for loop retry increment