Corrected for iteration