Class Bag became heritor of class Tree (CORRECTED)