Implemented Tree-Rendering