Wroked in Data.Tree instead of custom Group/Leaf tree