removed comparator abstraction from tree