add tree struct
tb