add tree variable