1st iteration end