added getChildren and getChildren2