removed old get children code