chapters and treemap working