tried static function, added panel_init