all tree nodes are classes