add loop search for nodes