add tree operation control