If needed, make entire tree as check box tree with a single line of code. If set, this tree can have parent-child relationships too.