index finished, 1st iteration