Trying with the iterator