tree map example code up