previous to refactor behavior
Added subtrees behaviors