use getChildren, not traverse