add value getter for treemap