added transparent tree building