completed first loop process