added a bunch of code related to the child list