lame attempt to tree view model implementation (failed)