first test for a loop