added stage4 (more for())