partially solve add a children problem