compare using treemap