add tree layout