get children part logic