add tree-shaped formatter