method to get children nodes for parent. not finished.