Iterate correctly