add tree sample