add tree resource