Added infinite-loop stage2