added tree serialization