add tree comparison method "compare"
replace tree comparison method