Looks so, but it's not, will change the code to iterate over the collection directly without intermediate variable.