iteration basics into the code index