first final iteration