removing test for loop