binary tree encapsulation has now become a joke