much improved tree layout