finalizing current iteration