tree view almost works;