done the child grouping