Change treecontroller to static function