[refactoring] replacing Tree Model