and now also print tree