remove static function