switching between 2 loops possible?