diff for loop