working on treemap