tree with content and tree generation