adding nestedChildren function.  Bug fix