Btw, this doesn't look right, isn't tree immutable?