~polymorphic~ bags -- update 4

need to work on tree structure