Iterator initial code