shouldn't you break the loop once found == true ?