completed first iteration