add TreeNode data structure