show custom tree in html, intermediate