code commit for loop search