add tree extension