add DeleteTree method