adding final iteration to link