add a method for loop find element,but it has error
test looking for element