New Genie On The Block

As Roland was walking toward the castle door, Sofia and Madeline rushed by, dressed in Tangu-style outfits.

"Whoa!" Roland gasped. "Where are you two racing off to?"

"Tangu, dad." Sofia smiled.

"We're going to practice our flying carpet dance with Zandar." Madeline added. "So we'll be ready for the museum opening tonight."

"Flying carpets?" Roland frowned. "All that zipping around... I'm glad I'll be in the audience!"

"Your majesties, this delivery just arrived." Billy handed Roland a box.

"Thank you." Roland smiled.

"Ooh, what's in it?" Sofia asked.

"For the royal family of Tangu." Miranda read the label. "A gift for your royal palace museum. This was sent to the wrong kingdom."

"I wonder what's inside?" Madeline took the box and shook it.

"It isn't ours to open, Madeline." Miranda told her, as Roland took the box.

"I'll have a messenger take this to Tangu immediately." Roland declared.

"Why don't we just take it, dad?" Sofia asked.

"Yeah, we're going there anyway." Madeline nodded.

"Okay, girls." Roland agreed, handing over the box. "But take it straight to the palace. I'm sure whatever's in here is very important."

"We will, dad." Sofia smiled.

"You can count on us!" Madeline declared, as they rushed over to the coach.

"See you tonight!" Miranda waved.

As the coach took, the box started shaking, and making an odd noise.

"Oh..." Sofia frowned.

"Hmm..." Madeline picked up the box, which was perfectly still. "That's weird..."

Madeline put the box down, but it started shaking again.

"I wonder what's making that noise..." Sofia mused.

The box suddenly jumped up, and landed on the coach floor.

"Maybe we should open it up and find out." Madeline pointed out.

"But we're not supposed to open it." Sofia retorted.

"Oh, right..." Madeline frowned.

The two sat there for a moment, twiddling their thumbs.

"...But I suppose one little peek won't hurt." Sofia admitted.

"My thoughts exactly." Madeline grinned.

They opened the box, finding an oil lamp inside.

"A lamp?" Sofia frowned.

"What's so important about this dusty old thing?" Madeline asked.

They took the lamp out, examining it. As they brushed off some dust, a puff of purple smoke came out of the spout. A young genie emerged from the smoke.

"I'm out! I'm out!" He cheered. "I'm finally out!"

"Who are you?" Sofia asked.

"I'm Kazem." The genie declared. "The greatest wish-granting genie there ever was! ...Or at least I will be, once I start granting wishes. It's my first time out of my lamp. Who are you?"

"I'm Princess Madeline, and this is my sister, Princess Sofia." Madeline declared.

"Hi." Sofia smiled.

"Well Princesses, this is your lucky day!" Kazem declared. "What kind of fantastic, razzle-dazzle wish do you want?"

"Uh, no... wait." Madeline stopped him. She looked at Sofia, and they silently agreed.

"We wish for you to go back in your lamp, so we can take you back to Tangu like we promised." Sofia declared.

"Ehhh!" Kazem buzzed. "No can do! I wanna have fun granting fun wishes! And that wish if boring! So I'm outta here!"

Kazem flew out of the coach.

"Fun, fun, fun, here I come!" He whooped.

"Kazem!" Madeline called. "Come back!"

Sofia opened the window behind the coachman.

"I thought genies were only supposed to grant wishes to the ones who let them out of the lamp." She declared.

"Wouldn't know, miss!" The coachman replied. "I've never let a genie out of a lamp before."

"Well, we have to get Kazem back in his lamp, and deliver it in time for the party tonight." Madeline urged. "Follow him, please!"

"And hurry!" Sofia added.

"Hyah!" The coachman snapped the horses' reins, following Kazem as he descended on a small town.

"Whoa!" Kazem smiled. "Where there's people, there's gotta be wishes! Who's gotta wish? Anyone got a wish?"

Kazem stopped by a man by an empty cart.

"Do you have a wish, sir?" He asked.

"Oh, I wish I had more dates to sell." The man sighed. "But I'm all out."

"Then dates you shall have!" Kazem declared. "Kablooey!"

A huge mountain of dates appeared in the cart.

"It's a miracle!" The man gasped.

"Oh, you poor little thirsty leaves." A woman said to a withering plant. "I wish it would rain!"

"And so it shall." Kazem smiled. "Kablooey!"

A rain cloud appeared in the sky, and started a downpour. The plant immediately perked up.

"Thank you, little genie!" The woman smiled.

"You got it!" Kazem grinned.

"I see him!" Madeline pointed. "He's in the marketplace!"

"Land the coach, please!" Sofia told the coachman.

The coach landed, and Sofia and Madeline leapt out, Madeline carrying the lamp.

"Kazem!" Madeline called out, as they chased Kazem through the marketplace.

"Please get back in your lamp!" Sofia added.

"No can do, Princesses!" Kazem smirked. "I'm having too much fun!"

Nearby, there was a boy with three toy elephants.

"I wish you were real elephants." He sighed.

"Kablooey!" Kazem turned the toys into a pile real, full-size elephants.

"Wow!" The boy gasped.

"Kazem, you have to stop granting wishes." Madeline declared. "And you have to get back into the lamp right now!"

"Why would I want to stop granting wishes?" Kazem chuckled. "Granting wishes makes people happy, and I love making people happy! I'm a happy people maker!"

"Come back!" Sofia yelled.

Just then, the elephants started to tumble.

"Uh-oh." Madeline gulped.

"My fruit! A man gasped, as his stand was crushed.

"Look out, my plants! A women yelled.

"My overpriced trinkets!" Another man yelled, as some bowls fell toward Sofia and Madeline.

"This way!" Sofia led Madeline around the elephants.

"Now how are we going to find him?" Madeline sighed.

"Look, it's Madam Ubetchya!" Sofia pointed.

They rushed over.

"Madam Ubetchya, we need your help!" Madeline declared.

Do not tell me!" Madam Ubetchya declared. "You are looking for a genie."

"How did you know?" Sofia asked.

"I know all, young lady." Madam Ubetchya smiled. "Plus, I saw genie fly by, and you have lamp. It's kind of no-brainer."

"Do you know where he went?" Madeline asked.

"No, but I can tell you where do find him." Madam Ubetchya consulted her crystal ball. "At end of alley, you will see giant gold lamp."

"And Kazem is there?" Sofia asked.

"No, but Genie Patrol is." Madam Ubetchya declared.

"Genie patrol?" Madeline repeated.

"They will help you find your missing genie." Madam Ubetchya smiled. "It is what they do."

"Okay, thanks!" Sofia smiled as they rushed off.

"We really appreciate it!" Madeline added.

"You betchya!" Madam Ubetchya waved.

Sofia and Madeline rushed through the marketplace. They stopped when they saw a large, lamp-shaped structure.

"Oh, it really is a big gold lamp." Sofia noted.

They rushed over to the door and knocked. A genie with glue spectacles opened the door panel.

"Genie Patrol?" He declared, before looking down. "Huh?"

"Um, hello." Madeline waved. "We're, uh... let a genie out of a lamp, but now we can't find him."

"Well, you'll have to talk to a patrolman, miss." The genie closed the panel.

"Patrolman?" Sofia frowned.

Suddenly, the door vanished, and Sofia and Madeline were pulled inside, stopping at the desk of a similar-looking genie with a fez and blue vest.

"So we got a runaway genie, do we?" The genie asked, holding a donut.

"Yeah, guess so." Madeline shrugged.

"Name?" The genie produced a pen and notepad.

"Sofia." Sofia answered.

"Madeline." Madeline added.

"Not you, the genie." The genie corrected.

"Kazem." Sofia declared.

"And did he grant you three wishes when you let him out?" The genie asked.

"No." Madeline answered. "But he's been granting everyone else's wishes."

"See, it's his first time out of the bottle, and-" Sofia started.

"Whoa, first-timer?" The genie asked. "I'll get the sergeant."

"The sergeant?" Madeline asked.

The genie left the room... then returned, wearing a red-and-white turban.

"Good work, patrolman!" He declared. "I'll take it from here!" Giving himself legs, he walked over to Sofia and Madeline. "Sergeant Fizz, Genie Patrol."

"Wait a second." Sofia frowned. "Are all the genies here really you?"

"What?" Fizz frowned. "No, no, no, no. ...Okay, yeah, you got me. We're a little understaffed. Now, this Kazem is a young genie, fresh out of the lamp. He probably hasn't learned the rules yet."

"There are genie rules?" Madeline asked.

"Oh, you better believe there are." Fizz declared, a roll of paper rolling down from his arm. "And without 'em, there'd be magical mayhem in the streets."

Fizz: The number one Genie rule, without a doubt
Is you only grant wishes to the one who lets you out.
Now rule number two, simple as can be
You can grant three wishes, that's one, two three.

Rule three, when you're done giving wishes away
You get back in your bottle with no delay.

These are the Genie Rules, so don't you lose control
Or you're gonna get a visit from the Genie Patrol.
That's me Sergeant Fizz and I know my biz.
I'll pull up on my rug and give you a pop quiz.
So all you Genies in the casbah, don't be fools.
Just follow every one of my Genie Rules.

"Now if you'll excuse me, I have to track down this Karem, and teach him the rules before things get out of hand." Sergeant Fizz declared.

"But we need to get him back in his lamp and deliver him to the palace before the party starts!" Sofia protested.

"Well in that case, how'd you two like to become my deputies?" Sergeant Fizz asked.

"Deputies?" Madeline repeated.

"Alright, fine, partners." Sergeant Fizz gave them genie-like clothes.

"Okay." Sofia smiled.

"So, how do we find him?" Madeline asked.

"I'll show you, partner." Sergeant Fizz whistled.

A carpet flew over and lifted Sofia and Madeline onto it. Sergeant Fizz joined them. As they flew across the town, they saw a winged camel that Kazeem had made.

This is how we're gonna track the genie down.
We'll hop my magic carpet and fly around town.
We'll be ace detectives, follow every clue.
Looking out for anything too good to be true

And when that trail of wishes comes to an end.
We'll have a naughty genie to apprehend.

He broke the Genie Rules.
Sofia/Madeline: He lost control.
Fizz: So he's gonna get a visit
all: From the Genie Patrol.
Fizz: That's Sofia and Fizz
Sofia/Madeline: And we know our biz.
Fizz: And how to fix this behavior of his.
We're gonna send him off to Genie School
And teach him all 200
All: Of the Genie Rules.

Fizz: That's the Genie Rules.
Sofia: There are that many more?
Fizz: Well, technically, there's 204. They're the Genie Rules.

Sofia/Madeline: The Genie Rules.
All: The Genie Rules.

Sergeant Fizz sniffed the air.

"You smell that?" He asked.

"What?" Madeline frowned.

"It smells like... wishes." Sergeant Fizz declared. "Bingo!" He conjured up some binoculars, and looked through them. "Just as I suspected! A birthday party."

"What does that mean?" Sofia asked.

"It means it'll be crawling with wishes." Sergeant Fizz explained. "So we'll have to be on our toes. Ready, partners?"

"Ready!" Sofia and Madeline chorused.

The carpet descended.

Meanwhile, Roland and Miranda arrived at the palace. Zandar and his parents came out to meet them.

"Oh, hello, King Roland!" Zandar's father smiled. "Queen Miranda! You know the party doesn't start until this evening."

"We know." Miranda nodded. "But we thought we'd come early and watch the girls' rehearsal with Zandar."

"And provide a safety net." Roland added. "Just in case."

"We haven't started practising, King Roland." Zandar revealed. "Sofia and Madeline aren't here yet."

"But they left hours ago." Roland frowned.

"They should be here by now." Miranda declared.

"Maybe they stopped off at the marketplace?" Zandar suggested.

"They were supposed to come straight here." Miranda stated.

"Hmm, I think we go look for them." Roland declared. "Coachman?"

"Uh, excuse me?" Zandar spoke up. "I know a faster way to travel."

Zandar whistled, and three flying carpets came over, one of which was the red and black one Sofia and Madeline had ridden before.

"Oh no." Roland cringed.

"Hop on." Zandar declared. "I'll take you to go look for Sofia and Madeline myself."

"Oh come on, Rollie." Miranda urged, as she sat on the second carpet.

"Well, uh, I don't..." Roland started, before his carpet scooped him up and took off. "Whoa!"

"Hold on!" Zandar instructed, as the other carpets flew out of the castle,

Meanwhile, the search for Kazem was still going, the Sergeant's carpet taking them into the birthday party.

"There he is!" Sofia pointed, indicating Kazem by two boys.

"It's go time." Sergeant Fizz declared.

"I wish for the biggest cookie ever." One boy declared.

"Me too!" The other added.

They blew out their candles

"Kablooey!" Kazem made two huge cookies appear. "Happy birthday!"

The Patrol packed flew over.

"Freeze!" Sergeant Fizz shouted through a megaphone. "Now, stop granting wishes and return to your lamp immediately!"

"Says who?" Kazem snorted.

"Sergeant Fizz, Genie Patrol." Sergeant Fizz declared, his badge jumping out on a spring. "You've already met my partners."

"You have to stop, Kazem." Madeline urged. "You're breaking the Genie Rules!"

"What Genie Rules?" Kazem asked.

"These Genie Rules." Sergeant Fizz produced the list. "See this? Rule one: Only grant wishes to the one who lets you out of the lamp."

"But I like granting everyone's wishes!" Kazem protested.

"And I like going to bed every night knowing cookies are bite-sized." Sergeant Fizz retorted.

"But-" Kazem started.

"I'll let you off with a warning, provided you get back in your Lamp and learn the rules." Sergeant Fizz declared, writing up a ticket.

"Ehhh!" Kazem tore up the ticket. "Boring!"

"Please, Kazem?" Sofia pleaded. "We'll take your lamp to the palace for a big party. Everyone will see it and be so happy."

"You love making people happy, right?" Madeline asked.

"I do." Kazem admitted. "But I'm not going in my lamp, and Im not learning any rules. I'm granting wishes, and you can't stop me'?

Kazem few off, making the carpet spin.

"We got a flyer, we've got a flyer." Sergeant Fizz spoke into a microphone. "All Patrollers, respond! ...That's us."

The carpet gave chase. During the chase, the two boys Kazem had granted wishes to were knocked over, their cake landing on their heads.

"Sorry!" Sofia called.

They continued the chase.

"Sergeant Fizz, can you make his wishes disappear?" Madeline asked.

"No, Madeline." Sergeant Fizz conjured up the rule scroll. "Only the genie who grants the wish can undo the wish. Rule 21."

"Camel!" Sofia pointed to the flying camel Sergeant Fizz had conjured earlier.

"Evasive action!" Sergeant Fizz swerved.

Meanwhile, Roland, Miranda and Zandar were nearing the town.

"Whoa!" Zandar yelped, as the camel flew toward them.

"Is that a flying camel?" Miranda asked.

Roland's carpet almost flung him off as he stopped, but he managed to get back just as the camel flew by.

"Sure is!" Zandar nodded.

The camel brayed, and Roland's carpet raised its tassels angrily.

"Uh-oh." Zandar gulped. "I think he's angry! Fly!"

They all flew away from the angry camel, Roland hanging on for dear life as the carpet spun and twisted.

Meanwhile, Sergeant Fizz's carpet stopped as they looked for Kazem.

"Over there!" Sofia pointed to a crowd of kids, with Kazem nearby.

"That's right!" Kazem smiled. "You wish it, I'll grant it!"

"Not this time, bub." Sergeant Fizz flew over to Kazem, and created copies of himself, surrounding him.

"We got you, Kazem." One copy declared.

"There's nowhere to fly." Said another.

"Now get back in your lamp with your hands up." The third said.

"Please, Kazem." Madeline pleaded. "Do what he says."

"Quick, kids!" Kazem called. "Wish for Sergeant Fizz to be stuck in that lamp, and I'll grant all of your wishes!"

"No!" Sofia and Madeline yelled.

"Don't do it, kids!" Sergeant Fizz ordered.

"I wish Sergeant Fizz was stuck in the lamp!" The kids chorused.

"Kablooey!" Kazem grinned.

"Of all the dirty tricks..." Sergeant Fizz frowned, before he and his copies were sucked into the lamp. "Officer down! Officer down!"

"Sergeant Fizz!" Sofia and Madeline gasped.

"Thanks, guys." Kazem told the kids. "Now come with me, and I'll grant all your funtastic wishes!"

Kazem flew off, the kids following.

"Sergeant Fizz?" Sofia rubbed the lamp. "Sergeant Fizz!"

"He's getting away!" Madeline declared. "Come back out, Sarge!"

"I can't." Sergeant Fizz told them. "Only the genie who grants the wish can undo the wish, remember?" The rule scroll appeared. "Rule 21."

"That's right." Sofia sighed. "You're stuck until Kazem lets you out!"

"If only we hadn't opened that box, none of this would have happened!" Madeline groaned.

"There's no time to play the blame game." Sergeant Fizz declared. "Kazem's still out there, wreaking magical havoc, and it's up to you two to stop it. You're the Genie Patrol now, girls. Make me proud, partners."

Sofia and Madeline smiled.

"Uh... are you still there?" Sergeant Fizz asked.

"Yes." Sofia nodded.

"And we won't let you down, serge!" Madeline saluted.

The Genie Patrol badge appeared on their chests.

"Let's catch that genie!" Sofia declared.

"Yeah!" Madeline grinned, as the carpet flew down the streets.

"Look at all these balloons!" A boy smiled, carrying dozens of them. "Thanks, Kazem!"

"Pet elephants?" Another said, elephants behind him. "Yeah!"

"These kids sure love elephants." Kazem grinned.

The Patrol carpet flew over.

"Genie Patrol!" Sofia yelled.

"Stop right there!" Madeline added.

"Well, gotta go!" Kazem took flight.

As the chase began again, the boy's balloons popped, scaring the elephants, causing them to run through the streets.

Up above, Sofia and Madeline closed in on Kazem. Even higher up, Roland, Miranda and Zandar continued their search, Roland's carpet still giving him trouble.

"Alright, looks like we lost that camel." Zandar declared.

"Maybe now we can slow down?" Roland suggested.

"And find Sofia and Madeline." Miranda nodded.

As they passed over a cloud, they saw Sofia and Madeline below.

"There they are!" Miranda gasped.

"Carpet, follow those Princesses!" Zandar urged.

"Whoa!" Roland yelled, as his carpet reared up, almost causing him to fall off. As they followed Zandar and Miranda, some of the boy's balloon floated into their path. "Balloons?! Oh, come on!"

"Kazem, we let you out of the lamp, so you have to grant our wishes." Sofia declared. "It's rule number one!"

"Yeah." Madeline nodded. "Now stop running away!"

"You'll have to catch me first!" Kazem smirked, dipping around a camel.

"Ahh!" Sofia yelped, narrowly avoiding it.

"Nice driving." Madeline smiled.

"Is that the best you can do?" Kazem taunted, as he continued weaving around people, animals and objects. "Come on! I'm not even breaking a sweat!"

"Kazem, stop!" Sofia yelled.

"Kazem, get back in your lamp right now!" Madeline demanded.

"Another boring suggestion from Princess Sofia and Princess Madeline." Kazem sneered.

On one very sharp turn, Sofia and Madeline fell off the carpet, and onto a balcony.

"What's happening?" Sergeant Fizz asked. "You okay, partners?"

"We're okay." Madeline nodded.

"No need to worry, Serge." Sofia smiled.

"Nah-nah!" Kazem flew past them.

"Kazem!" Madeline yelled.

"I'm not going back into that lamp, Princesses!" Kazem declared.

"Sergeant Fizz, we have to stop Kazem!" Sofia frowned.

Sofia and Madeline got back on the carpet, and continued their pursuit.

Elsewhere in the palace, the servants were getting ready for the party.

"There, perfect." One servant declared. "I just wish we had more entertainment for tonight. Jugglers, perhaps."

"Juggling?" Kazem flew over. "I'll give you something better than that. Kablooey!"

A bunch of juggling monkeys appeared.

"Are those monkeys?" The servant gasped, as the monkey ran wild. "Oh no!"

"You're welcome!" Kazem flew away.

"Stop!" The servant yelled at the monkeys. "My place settings!"

"Oh no." Madeline frowned. "The party!"

As the others flew in, they found themselves dodging bananas that the monkeys were throwing into the air.

"Watch out for the bananas, Miranda!" Roland yelled.

Unable to dodge the bananas, the three of them fell off their carpets, and landed in a pile of cushions, right in front of Sofia and Madeline.

"Mom? Dad?" Sofia gasped.

Roland's carpet flew over to the girls, wrapping itself around them in a hug.

"Oh, hello there." Madeline smiled.

"Still got your Spuck, I see." Sofia giggled, patting the carpet.

"Are you okay?" Madeline asked their parents.

"Yes." Miranda smiled.

"No." Roland groaned.

Zander's parents rushed over.

"What happened out here?" His mother asked.

"Zandar, what did I tell you about letting monkeys in the palace?" Zander's father growled.

"But dad-!" Zandar started.

"He didn't do anything, your majesty." Sofia admitted.

"We did." Madeline added.

"Girls, what do you mean?" Miranda asked.

"We were supposed to deliver a box to you, but we peeked inside, and accidentally let out a genie." Sofia confessed.

"He's been granting wishes all over Tangu." Madeline added. In the background, an elephant trumpeted, and something broke. "A lot of wishes."

"Oh, girls." Miranda sighed. "You were supposed to bring the box straight here, without opening it."

"We know." Sofia bowed her head.

"And we're sorry." Madeline declared.

"Send word that tonight's party is cancelled." Zander's father told a servant.

"By your command, King Habib." The servant bowed.

"But dad, everyone wants to see the new museum!" Zandar protested.

"We'll clean everything up, I promise." Sofia pledged.

"My dear, there is simply no way you or any of us can get the palace straightened up in time." Habib declared.

"Not to mention tracking down that genie." Habib's wife added.

"But we want to fix the mess we caused." Madeline insisted. "Please, give us a chance, your majesties."

"And what can the two of you possibly do?" Habib asked.

"...Fizz!" Sofia suddenly realized.

"What is Fizz?" Habib frowned.

Two monkeys were throwing the lamp between them. Madeline managed to catch.

"Oh Fizz, I wish you weren't stuck in there..." She sighed. "We can't catch Kazem, and they're going to cancel the party!"

"It's a crying shame, kid." Sergeant Fizz declared. "And Kazem thinks he's making people happy. If only he knew..."

"Hmmm... maybe he should know." Sofia smiled.

"Come again?" Sergeant Fizz asked.

"Yeah, what are you getting at, Sof?" Madeline asked.

"If we can get Kazem to see how unhappy he's made everyone, then maybe we can get him to undo all his wishes!" Sofia grinned.

"That's... pretty smart." Madeline nodded.

"It's a long shot, but it just might work." Sergeant Fizz admitted.

"Mom, dad, we know what to do." Sofia declared. "But we'll need your help."

"Good, because I'm not letting you two out of my sight again." Miranda said flatly.

"We just need a few minutes, King Habib." Madeline declared. She whistled, calling the Patrol carpet over. "Hop on!"

The girls and Miranda got on their carpets.

"Why can't we just take a coach?!" Roland yelped, as his carpet pulled into the air.

Not too far away, Kazem was in front of some kids.

"Okay, who's next?" He asked. "Step right up and make a wish!"

Sofia, Madeline and their parents were nearby, watching from behind some crates. They nodded to each other silently.

"Ah, what a beautiful day!" Miranda said loudly, as she and Roland walked over. "I wish we could sit on that cloud, and look down on all of Tangu!"

"Yes." Roland agreed. "And it would be nice if a genie could keep us company!"

"Yes, it would!" Miranda smiled.

"Now that is a fantastic wish!" Kazem flew over to them. "Kablooey!"

Roland and Miranda were transported to the top of the cloud. Kazem joined them.

"Ah, what a view!" He sighed.

"Mmm-hmm." Miranda agreed, as an elephant trumpeted. "Hey, what's all that commotion down there?"

"It's all the wishes I've granted." Kazem declared. "See how happy I've made everyone?"

"But are they really happy, Kazem?" Sofia asked, as she and Madeline flew over.

"Huh?" Kazem frowned. "Wh-what do you mean?"

"Take a closer look." Madeline pointed to the stampeded elephants. "The elephants are running wild."

"The giant cookies are crushing all the kids' presents." Sofia continued.

"And the monkeys ruined the party." Madeline indicated the juggling monkeys.

"That's not fantastic at all..." Kazem realized.

"That's why there are genie rules, Kazem." Sofia told him. "So things don't get out of hand."

"I see what you mean." Kazem sighed. "...Okay, I'll follow the rules."

"Great." Madeline smiled. "You can start by granting our three wishes."

"Alright what's your first wish?" Kazem asked.

"We wish for you to let Sergeant Fizz out of this lamp." Sofia held up the lamp.

"Do I have to?" Kazem frowned.

"It's our wish." Madeline grinned.

"Okay..." Kazem sighed. "Kablooey."

Sergeant Fizz came out of the lamp.

"You are under arrest, bub." He told Kazem. "You have the right to remain magical. Any wish you grant can and will be used against you in a court of whimsy. You have the right to a wizard. If you cannot afford a wizard, one will be appointed to you by the kingdom. Do you understand these rights and wrongs as they have been read to you?"

"Mmm-hmmm." Kazem nodded.

"Wait, Sergeant Fizz!" Sofia spoke up. "Kazem is ready to follow the Genie Rules."

"He's granting our three wishes right now." Madeline added.

"Is this true?" Sergeant Fizz asked Kazem.

"Yes, Sergeant!" Kazem declared. "And... I'm sorry I put you in the lamp."

"Well, you should be." Sergeant Fizz said sternly.

"For our second wish, we'd like you to undo all the other wishes you granted today." Sofia declared.

"Your wish is my command." Kazem smiled. "Kablooey!"

The flying camel vanished, Roland and Miranda returned to the ground, and the elephants, giant cookies, and monkeys disappeared.

"Thank you, Kazem." Madeline smiled.

Soon after, they returned to the palace.

"The party is back on!" King Habib declared. "Everyone, please join the festivities!"

"Well girls, you have one more wish." Kazem declared.

"That's right." Sofia nodded. "...Kazem, we need you to go back in the lamp."

"No!" Kazem shook his head.

"You have to." Madeline declared. "You belong in the lamp, and the lamp belongs to the King and Queen of Tangu."

"But it gets lonely in there!" Kazem pouted.

"Hey, it gets lonely being the only officer in the Genie Patrol." Sergeant Fizz retorted. "But not every wish comes true."

"Hmm..." Sofia mused. "Madeline, are you thinking what I'm thinking?"

"I sure am." Madeline nodded. "We'll be right back!"

The girls brought the lamp over.

"Here's your lamp, King Habib!" Sofia declared. "But do you mind if the genie doesn't go back inside?"

"We know a place where he'll be much happier." Madeline added. "And stay out of trouble."

"Hmmm... that is fine with us." King Habib nodded.

"Great!" Sofia smiled.

The girls rushed back to Kazem.

"Kazem, for our last wish, we wish for you to join the Genie Patrol." Madeline declared, handing him her turban.

"If that's okay with both of you." Sofia added.

"Okay?" Kazem did a flip. "It sounds fantastic!"

"Now, wait just a second..." Sergeant Fizz frowned.

"You said it gets lonely being the only Patrolman." Madeline pointed out.

"Now you'll have a partner, all the time." Sofia smiled.

"...I suppose he could start off as a Junior Patrolman." Sergeant Fizz admitted. "After you learn all the Genie Rules."

Several scrolls appeared around Kazem.

"I will!" Kazem nodded. "I promise!"

Sergeant Fizz changed Sofia and Madeline's outfits back to their Tangu attire, and put the turban on Kazem's head.

"Welcome to the Genie Patrol, kid." He declared.

"Thank you, Sergeant Fizz!" Kazem saluted.

"It won't be the same without you... partners." Sergeant Fizz told Sofia and Madeline.

"Sofia, Madeline, it's time for our carpet dance!" Zandar flew over.

"Well, we never rehearsed." Madeline admitted, as the red carpet picked them up.

"But the show must fly on!" Sofia smiled.

Sofia, Madeline and Zandar started flying in formation, as music played.

"Well, are you ready to learn the Genie Rules, Kazem?" Sergeant Fizz asked.

"I sure am!" Kazem nodded.

"Alright then." Sergeant Fizz smiled. "We'll start with rule 52: Always make a big entrance, and a bigger exit!"

They flew up into the sky, their carpet leaving a purple trail behind it. As the crowd applauded, Kazem shared a salute with Sofia and Madeline.