add tree model definition