now can print tree