add tree model