refactored treeNode
refactored picture