print tree not tested yet