finish advanced/2.loop