added compoundNode class