For loop instead of iterator