modify static function