kind of got a tree thing working