Cover of The Miraculous Spider-Man

The Miraculous Spider-Man

Read the story

5 chapters · 20094 words · Read 1 times

Write me a script format episode 1 with dialogue like this “Ty: yo!”.where a boy named Ty Lewis who is an African American 21 year old boy with spider powers that allows him to stick to walls and stuff like! He currently has webshooters that he does CONSTANT maintenance on.he lives with his AINT but he hides his powers for safety reasons! On his first day at school in NEWT YORK he meets a lot of people who keep talking about heroes named ladybug and cat noir! and he has lived here his whole life and never heard of them, main one though is cat noir who tries to beat an akuma by himself and ty knocks him out with a web swing kick and arrests C the akuma and ty goes to school too fast for cat noir to interrogate him, at school he tries to blend in but is SOOO bored, later her is stopped in the hall by a bully who tries to beat him up because he is a racist and before he can hurt ty Marinette dupain cheng kicks the bully in the nuts saving him and ty thanks her thinking how he could’ve used his powers to kick that guys ass but then Mari introduces her friends Nino and alya and also her boyfriend, ADRIEN AGRESTE and they hug revealing they know eachother because Adrien’s dad knew Ty’s mentor (Ironman) and hiding his identity ty brings up he had an internship with stark and him and Adrien nerd out about Star Wars

Chapter 2: Web Swing and a Knockout

Rain tapped a steady, impatient rhythm against the fire escape, a sound Ty had learned to translate as hurry up. He hunched under the slight overhang of the rooftop access door, a multi-tool in one hand, the fragile inner mechanism of his web-shooter cradled in the other. The city below was a watercolor smear of grays and muted neon, the usual roar softened to a wet hiss by the downpour.

“Come on, you finicky piece of…” he muttered, adjusting the tension spring with careful precision. His aunt thought he was tinkering with bike parts up here.It was a good cover. The shooters were his own design, built from scavenged parts, 3D-printed casings, and a whole lot of trial and error. The web-fluid was the real trick—a non-toxic, bio-degradable polymer that dissolved after two hours. Strong enough to hold a bus, temporary enough to not cripple the city’s sanitation department.Probably.

A sharp, concussive BOOM rattled the rooftop gravel.

Ty’s head snapped up, his hands moving on pure instinct to reassemble the shooter and snap it onto his wrist. He was at the ledge in three strides, the rain needling his face.

A block over, chaos had erupted in a intersection. A giant figure, glistening like wet coal and studded with what looked like street signs, was swatting cars aside.And dancing around it, a blur of black and neon green.

“Cat Noir?” Ty whispered.The name had been in the news lately. Some European hero, part of a duo.Where was the other one?Lady-something?He watched, analyzing. Cat Noir was fast, agile, but he was alone, and he was playing defense. The coal-monster—Akuma, they called them—seemed to be protecting a glowing purple symbol on its chest.i

The coal-monster—Akuma, they called them—seemed to be protecting a glowing purple symbol on its chest. Cat Noir lunged, his baton extending, but the creature moved with shocking speed for its size, backhanding him with a reinforced arm of twisted rebar and concrete. The hero smashed through the front window of a bodega with a sickening crash.“Damn,” Ty breathed.He should stay out of it.Unknown variables. European drama.But the guy was going to get pulped.

Another figure sprinted into the intersection—a girl in a red and black spotted costume.Ladybug. She skidded to a halt, saw Cat Noir down, and yelled something lost to the rain and distance. The akuma turned on her, and she was immediately on the defensive, yo-yo whirling as a shield.

Ty’s mind clicked through scenarios.He wasn’t dressed for this. His “costume” was a dark blue hoodie, the hood lined with a removable black mesh face mask, and a pair of modified impact-resistant goggles he wore for cycling.It was anonymity, not iconography. It hid his features, and that was all that mattered right now.

He yanked the hood up, pulling the mask over his mouth and nose, the world sharpening as he snapped the goggles into place. The rain became a patter on the lens. He tapped his wrist, the web-shooter whirring to life, a cartridge slotting home with a satisfying click.He didn’t have a speech. He had momentum.

He leaped off the rooftop, free-falling for one stomach-dropping second before firing a web-line at a soaring art deco gargoyle. The swing was a violent, exhilarating arc across the canyon of the street, the wind and rain tearing at his hoodie. He angled his body, legs coiling.

The akuma had its back to him, towering over Ladybug, who was tangled in a net of chain-link fencing it had ripped from a construction site. Ty timed the release of his web, becoming a projectile.

His sneaker connected with the side of the akuma’s head, a web-assisted kick that snapped its massive skull sideways with a sound like a sledgehammer hitting a statue.The creature roared, stumbling back two heavy steps. Ty landed in a crouch, the impact jolting up his thighs.

“Hey!” he yelled, his voice muffled by the mask. “Pick on someone your own mobility!”

The akuma turned, hollow eyes burning with violet light. The crowd, huddled under awnings and behind cars, erupted.“Yo, who is that?!”

“Look at him go!”

“Get it!”

A vendor he knew, Mr.Chen, waved a furious fist from his doorway.“Yeah! Come on, Spider-Man! Don’t let that thing wreck my cart!”

The name hit Ty like a physical thing.Spider-Man.It wasn’t his. But it stuck to him in that moment, thrown from the throat of his neighborhood.He didn’t have time to dwell.

The akuma swung a fist the size of a smart car. Ty didn’t dodge back; he dove forward, between its legs, the rush of air and gravel spraying behind him. He rolled, came up, and fired two thick webs at its ankles, yanking hard. The creature stumbled, off-balance.His eyes scanned. The purple symbol was the obvious target, but it was armored, shifting. Then he saw it—a glint of silver in the monster’s other hand.A hubcap, twisted and malformed, glowing with the same evil light. Not the symbol.The object.Ladybug had cut herself free.“The object!” she shouted. “It’s in its hand!”

“On it!” Ty shouted back, the collaboration immediate and wordless.He fired a web at a traffic light, swinging low and fast, skimming the wet asphalt. The akuma swung the hubcap like a discus. Ty let go, dropping onto its arm and sprinting up the length of it, his footsteps sure and sticky. The creature tried to shake him, but he was already at the shoulder.He leaped for the hand clutching the hubcap.

Cat Noir chose that moment to stagger out of the bodega, dazed but standing. “What the hell—?”

Ty landed on the giant fist, grabbed the edge of the glowing hubcap, and pulled with every ounce of enhanced strength he had.There was a screech of tearing metal. The akuma howled, its form beginning to flicker.“BREAK IT!” Ladybug screamed.

Ty didn’t need to be told twice. He wrenched the hubcap free, spun in mid-air, and slammed it down across his raised knee. The metal shattered with a sound like a gunshot.A vile purple butterfly, spectral and wrong, erupted from the pieces.

Before Ladybug could even move her yo-yo, Ty fired a precise strand of webbing. It splattered across the butterfly, pinning it to the wet brick wall of a building. He knew the drill from the news.Contained.

The coal-monster dissolved into a shower of black dust, revealing a confused-looking construction worker in the middle of the intersection. The magical ladybugs washed over the street, repairing the shattered windows and bent cars.

Silence, for a beat, save for the relentless rain and the distant sirens.Then the cheering started again, louder, from his block, his people. “SPIDER-MAN!” “THAT’S WHAT I’M TALKIN’ ABOUT!” “YES!”

Cat Noir was staring at him, green eyes wide with shock and something else—annoyance.Ladybug approached, more cautious, but with a grateful smile.

“Thank you,” she said, her accent soft.“That was incredible. Who are you?”

Ty looked from her to the cheering crowd, to the webbed butterfly on the wall, to his own nondescript, soaking-wet hoodie.This was about to get complicated. He had fourteen minutes to get to his history seminar.“Uh,” he said, backing up.“Just… your friendly neighborhood… guy. Gotta go!”

He fired a web at a high cornice and yanked himself upward just as Cat Noir took a step forward. “Hey, wait—!”

But Ty was already gone, swinging through the rain-gray canyons, the echo of the name they’d given him thrumming in his ears alongside the thrill of the swing.Spider-Man.He’d have to think about that.Later. After class.

After class. The fluorescent buzz of the lecture hall felt like a mental prison after the freefall rush of the morning. Ty slouched in his seat, the professor’s droning voice dissecting post-Cold War geopolitics while Ty’s brain replayed the feel of webbing leaving his shooter, the exact sound of the akuma’s armor cracking under his kick. He’d re-checked his shooters under the desk three times.His leg bounced a restless rhythm against the floor. He was so, so bored.The bell was a shock of relief. He merged with the river of students flooding the hallway, head down, hoodie up, just another guy in the current. He was trying to calculate the tensile strength needed to web-sling someone of Cat Noir’s approximate mass when a heavy hand clamped onto his shoulder and shoved him into a bank of rust-colored lockers.

The bang echoed in the sudden pocket of empty space. A guy named Brad, whose jaw looked like it had been carved from a block of entitlement, loomed over him. Two of Brad’s friends flanked him, grinning.

“Watch where you’re going, Lewis,” Brad sneered, his breath smelling of cheap energy drink. “You people always need extra room, or something?”

Ty felt the anger, hot and immediate, flash up his spine.He could hear the tendons in Brad’s grip creak. He could put this guy through the locker door without breaking a sweat. He saw it: a quick, brutal motion.The thought was terrifyingly satisfying.

But then he saw the security camera in the corner.He saw his aunt’s worried face. He felt the weight of the secret, heavier than any bully.He relaxed his muscles, going slack against the metal. “My bad,” Ty said, his voice flat. “Wasn’t looking.”

“Damn right you weren’t.” Brad’s fist bunched in Ty’s hoodie, pulling him forward only to slam him back again.“Think you’re special ‘cause you’re from Queens?This is a real school. You’re just taking up space.”

One of the friends snorted. “Probably here on a quota.”

Ty’s vision tunneled.The sounds of the hallway faded. He was measuring the angle to drive his forehead into Brad’s nose.It would be so easy.

“Hey!”

The voice was sharp, clear, and cut through the toxic haze.Brad turned, annoyed.

A girl with dark hair in pigtails and a fiery expression stood there, her arms crossed. She was small, but the way she held herself made her seem to take up all the air in the corridor. “Is there a problem?”

Brad smirked, letting go of Ty to size her up. “What’s it to you, cupcake? Running to the aid of your little—”

He never finished the sentence.Her move was a blur of practiced efficiency. A step forward, a pivot, her leg snapping up with shocking speed and precision. The soft toe of her ballet flat connected with a sickening, definitive crunch.Brad’s eyes bulged.All the color drained from his face. A high, thin wheeze escaped his lips as he folded in half, collapsing to the scuffed linoleum like a sack of bricks, clutching himself and making faint, mewling sounds.

His two friends just stared, their grins wiped clean, frozen in place.

The girl didn’t even look winded.She smoothed her skirt and turned to Ty. “Are you okay?”

Ty could only nod, his own impending violence dissipating into stunned awe.“Yeah. I’m… yeah.”

“Good.” She offered a smile that was suddenly warm and sunny, a complete contrast to the storm that had just passed.“I’m Marinette.Marinette Dupain-Cheng. Those guys are worms.”

“Ty.Ty Lewis.” He pushed off the locker, standing upright. “That was… um.”

“Effective,” she finished, her nose wrinkling.“Come on. They’re about to start oozing sympathy.” She hooked her arm through his and steered him away from the groaning heap on the floor, the crowd parting for them as if by magic.

She led him to a bench by a sun-drenched window where two other students were waiting. A tall girl with gorgeous curls and intelligent eyes looked up from her phone, and a guy with headphones around his neck and a beanie gave a chin nod.“Guys, this is Ty,” Marinette announced. “Ty, this is Alya and Nino.”

“Saw what happened back there,” Alya said, her eyes assessing Ty with open curiosity. “Marinette has a zero-tolerance policy for idiots.And racists. Mostly idiots who are also racists.”

“Solid policy,” Ty managed.Nino fist-bumped him. “Welcome to the non-jerk zone, man.”

“And here comes the boyfriend,” Alya sang, looking over Ty’s shoulder.

Ty turned.Walking toward them, backlit by the hallway light, was Adrien Agreste. Even in casual jeans and a simple tee, he looked like he’d stepped off a magazine shoot. He was smiling at Marinette, a soft, private kind of smile, before his eyes landed on Ty.

The smile vanished.Recognition slammed into both of them at the same instant. Ty saw the green eyes widen, the posture go rigid.He felt his own stomach drop.

“You,” Adrien breathed, the word tight with disbelief.

“You know each other?” Marinette asked, glancing between them, confused.Adrien’s stare was locked on Ty.“Stark Expo. The ‘Triathlon of Innovation’ internship. My father made me go.”

A cold sweat broke out on Ty’s neck.He’d spent weeks burying that memory. The noise, the chaos, the metallic taste of fear. The red and gold armor streaking past him as he, in a hastily concealed makeshift suit, webbed up a super-soldier’s shield just long enough for the repulsor blast to connect.

Ty forced a casual shrug, the lie forming on his tongue, smooth and practiced.“Oh, yeah.That thing.I was there for the ordinary engineering internship track. Boring stuff.You?”

Adrien’s gaze was piercing, skeptical. “I was… I was in the VIP section.For a while. Until everything went crazy.” He took a half-step closer, his voice dropping. “There was a guy there, during the fight with… with Captain America.A guy in a hoodie, webbing things up. Helping Iron Man.”

Alya’s reporter instincts visibly clicked on.“Wait, what? You never mentioned that!”

“It was chaotic,” Adrien said, still watching Ty. “Easy to misremember things.”

Ty kept his face neutral, open.“Sounded wild from the cheap seats.We all got evacuated. Didn’t see much.”

The silence stretched for a beat too long.Nino whistled low. “Man, the Stark internship?That’s legit.Both of you? What are the odds?”

Marinette was looking at Adrien, then at Ty, a curious, almost protective frown on her face.“Small world,” she said finally, breaking the tension. She linked her arm with Adrien’s, pulling him back into the circle.“Well, now you both have that in common. And now Ty knows us. No more getting shoved into lockers.”

Adrien finally looked away from Ty, down at Marinette, and some of the intensity faded from his expression, replaced by a softer concern. But when his eyes flicked back up, the unanswered question was still there, bright and demanding.

Ty just gave another small, non-committal smile, the secret thrumming under his skin like a live wire.He was in it now. Deep.

The bell rang, slicing through the charged silence. The group fragmented with the flow of students, but Adrien’s hand closed around Ty’s arm. His grip wasn’t aggressive, but it was firm. Unyielding.

“Walk with me,” Adrien said, and it wasn’t a question.

Marinette shot Adrien a look—a mix of question and caution—but he just gave a slight, reassuring shake of his head. “Catch up with you at lunch,” he told her, and steered Ty away from the main thoroughfare, down a less-populated corridor lined with science lab doors.

They walked in silence for a minute, the only sound their footsteps and the distant slam of lockers. Adrien stopped by a window overlooking a rainy courtyard. He finally let go of Ty’s arm, leaning against the wall and crossing his arms.

“Stark Expo,” Adrien said, his voice low. “The guy in the hoodie webbed the shield. He saved my life. I was pinned under a chunk of concrete. That shield was coming for my head.”

Ty’s heart hammered against his ribs. He kept his face still. “Lucky for you that guy was there.”

“Don’t,” Adrien cut him off, the pleasant-boy persona completely gone. What was left was sharp, intense, and older than his years. “I have a photographic memory. For… my work. I see details. The way you moved in the intersection this morning, the angle of your wrist when you fired that web… it’s the same. The build is the same. You’re not just some guy.”

Ty met his gaze. The lie was too heavy to hold up. This wasn’t Brad the bully; this was someone who knew the weight of a secret. He could see it in the tightness around Adrien’s eyes. He let out a long, slow breath, the truth hissing out like a released valve. “And you’re not just a rich kid who models sweaters.”

A flicker of surprise, then a grudging respect in Adrien’s green eyes. “No. I’m not.”

“So. You’re Cat Noir.”

“And you’re… Spider-Man?” Adrien said the name like he was testing its flavor.

Ty shrugged, a half-smile tugging at his mouth. “The people on my block seem to think so. Hoodie-Man didn’t really have the same ring.”

To his surprise, Adrien laughed. It was a short, real sound. “It’s terrible. I hate it. Ladybug got hers from a literal magical goddess. Mine sounds like I fell into a vat of glitter. Yours sounds like you have a publicist.”

The unexpected honesty disarmed Ty completely. He laughed too, the tension breaking like a fever. “Man, I was just trying to not get that construction worker squished. Next thing I know, Mr. Chen is yelling ‘Go Spider-Man’ and I’m stuck with it.”

“Welcome to the club,” Adrien said, pushing off the wall. “It’s a shitty club. The benefits are non-existent and you ruin a lot of good clothes.”

They started walking again, this time in step, the direction unspoken but mutual—somewhere away from ears. They found an empty music practice room, soundproofed and smelling of old wood and dust. Adrien closed the door.

For a second, they just looked at each other, two boys hiding universes under their skin.

“How?” Adrien asked simply.

“How’d you get yours?” Ty countered.

Adrien ran a hand through his perfect hair, messing it up. “Magical jewelry. A god-like creature of destruction gave me a ring and said ‘go fight monsters.’ You?”

Ty held up his wrist, showing the custom housing. “Science accident. Oscorp genetics lab. Bitten by a modified Araneae simoni. Got sick for a week. Woke up stuck to my ceiling.”

“No god-like creatures?”

“Just a very confused PhD candidate named Dr. Connors and a $4 billion lawsuit my aunt won’t let me touch. Your way sounds simpler.”

“It’s really not,” Adrien said, and the weariness in his voice was profound. He slid down the wall to sit on the scuffed floor. Ty joined him, their backs against the cool wood. “The magical part comes with a talking god who lives in your ring and never shuts up, a bossy partner who has to be the one to fix everything, and a villain who sends personalized nightmares after you on the regular. I have to listen to my father lecture me about punctuality while I’m nursing three cracked ribs from a fight with a mime who shot lasers out of his accordion.”

Ty barked out a laugh. “Okay, you win. I just have to worry about my web-fluid clotting in the nozzle. And getting my algebra homework done.”

“Do you have… someone? Giving you orders?” Adrien asked, his voice tentative.

“Just my aunt. And she’s just telling me to take out the trash.” Ty paused. “You?”

Adrien was quiet for a long moment. “My father,” he finally said, the word heavy. “But not in the way you think. It’s… complicated. The mission comes from somewhere else. But the expectations? The constant performance?” He looked at his hands. “It’s like living in a cage made of gold. You can see out, but you can’t get out. Every move is planned, every word is scripted. This,” he gestured between them, to the room, “sneaking off to talk to you? This is the most treasonous thing I’ve done in months.”

Ty listened. He knew about loss, about the quiet desperation of a small apartment, about scraping by. But this? This gilded prison was a foreign kind of hell. “That sounds fucking lonely, man.”

Adrien’s head snapped up as if Ty had slapped him. His eyes searched Ty’s face, looking for pity, finding only understanding. He looked away, blinking fast. “Yeah,” he whispered, the word rough. “It is.”

The dam broke after that. They talked for an hour, missing their next class entirely. They talked about the mechanics of it all—the swing versus the vault, the way adhesive powers worked versus enhanced acrobatics, the sheer, pants-shitting terror of free-fall before the web catches. They compared notes on bone-deep exhaustion, on lying to the people you love, on the weird, specific hunger that hit after you burned that many calories.

“Do you ever just… want to keep going?” Ty asked, staring at the acoustic tiles on the ceiling. “Like, not stop a crime. Not fight a monster. Just… swing. Because it’s the only time it doesn’t feel like the world is sitting on your chest?”

“All the time,” Adrien said, his voice quiet. “The rooftops are the only place I’m free. The only place I’m me. Not my father’s son. Not Cat Noir. Just… a guy in the air.”

“Yes,” Ty said, the affirmation fierce. “Exactly that.”

They traded war stories. Ty talked about his first, clumsy attempt to stop a carjacking, how he’d webbed the thief to the car but also accidentally webbed the owner’s door shut. Adrien recounted a disastrous early akuma fight where he’d accidentally Cataclysmed a beloved city monument, a bakery, and part of a bus, and had to listen to Ladybug rant for twenty minutes while she fixed it all.

“She’s amazing,” Adrien said, and the shift in his tone was immediate—softer, full of a worshipful awe that was painful in its purity. “Ladybug. She’s… everything. The plan, the heart, the hope. I’m just the distraction. The bad luck.”

Ty watched his friend’s face transform. “You’re in love with her.”

Adrien didn’t deny it. He just slumped further against the wall. “It’s the worst idea in the history of ideas. She doesn’t know who I am. I don’t know who she is. We could be anyone. We could be… siblings. Or eighty-year-olds. Or… or she could be Marinette.”

The name hung in the air. Ty thought of the girl with the fierce eyes and the devastating kick. “Is she?”

“I don’t know,” Adrien groaned. “Sometimes I think… maybe. The way she looks at me sometimes when she thinks I’m not looking. But then she’s so clumsy and she stumbles over her words and Ladybug is so… in command. And then there’s Marinette… she’s just a friend. A really good friend. Who I might also be in love with? It’s a mess. It’s a fucking tragedy, is what it is.”

“So you’re pining for two girls, one of whom might be the other, and you can’t have either because your life is a supernatural soap opera.”

“Basically.”

“Dude,” Ty said, with feeling. “That sucks.”

“Tell me about it.”

They lapsed into a comfortable silence, the kind that only exists between people who have unloaded the weight they’ve been carrying alone. It was easy. It was shockingly, profoundly easy.

“What about you?” Adrien asked, nudging Ty’s shoulder with his own. “Anyone webbing up your heart?”

Ty thought of the emptiness in his bed, the parade of faces that blurred together, the hollow ache that followed the brief, physical release. He’d never said it out loud before. “Nah. Not like that. It’s just… hard to connect, you know? When this,” he tapped his wrist, “is the biggest part of you. And you can’t share it. You end up just… taking what you can get. No strings. Less lies that way.”

Adrien nodded slowly, not judging. “Must be simpler.”

“It’s not simple,” Ty corrected, the bitterness surprising him. “It’s just empty. You hook up, you get off, you leave. It’s just… biology. A transaction. No one gets hurt because no one cares enough to get hurt. But sometimes…” He trailed off, thinking of the quiet after, the alone-ness that felt deeper than before. “Sometimes it just feels like you’re using someone to sand down the edges of being alone. And you’re leaving little pieces of yourself behind in all those different beds.”

The rawness of the admission sat between them. Adrien didn’t offer platitudes. He just sat in it with him.

“My father is trying to arrange a marriage for me,” Adrien said suddenly, the non-sequitur somehow making perfect sense. “To some CEO’s daughter. For ‘consolidating brand futures.’ I’ve met her twice. She likes horses and vintage champagne. She has no idea I’ve fought a dragon made of negative emotion on the Eiffel Tower.”

Ty snorted. “What do you talk about?”

“We don’t. We smile for the cameras. It’s all… planned. Like my life. Every public moment is a performance. The only real things are in the mask. And now…” He looked at Ty. “This. Talking to you. This is real.”

“Yeah,” Ty said. “It is.”

The connection was instant and solid. It was the relief of finding someone who spoke your secret, silent language. They weren’t just friends; they were allies in a war no one else knew was being waged. They were confessors.

The rest of the day passed in a blur. In class, they’d catch each other’s eye and Ty would see the ghost of a smirk on Adrien’s face—we know something they don’t. At lunch, they seamlessly integrated. Marinette, Alya, and Nino accepted Ty without question, a package deal with Adrien’s sudden and intense endorsement. The conversation was easy, full of jokes and plans and the warm chaos of friendship.

After school, walking out together, Adrien nodded toward his sleek, black car idling discreetly at the curb. “Need a ride? My driver’s cool.”

“Nah,” Ty said, hoisting his backpack. “The swing is quicker. And the paperwork if your driver sees me crawl out a window is probably a nightmare.”

Adrien laughed. “Right. Meet up tomorrow? I want to see those web-shooters. Maybe run some patterns on the rooftops. Test your reach against my vault.”

“You’re on. Try to keep up, housecat.”

“In your dreams, spider.”

Ty turned to go, the promise of the coming night, of freedom and motion, pulling at him.

“Hey, Ty,” Adrien called after him.

Ty looked back.

“Thanks,” Adrien said. Simple. Sincere.

Ty just nodded, a thousand words understood in the gesture. He ducked into an alley, shed his backpack behind a dumpster, and pulled the mask up. With a thwip and a rushing gust of wind, he was airborne, the city unfolding beneath him in a grid of problems and possibilities. But for the first time, the weight on his chest felt lighter. He wasn’t alone in the air anymore.

He swung toward Queens, the setting sun painting the glass towers in fire. Below, life pulsed on, unaware. But high above, Spider-Man arced through the golden light, a secret smile on his hidden face, already looking forward to tomorrow.

Read on DreamPress

Write your own erotic story with AI

Or try the NSFW story generator