added tree layout option