finished adding a new child functionality