--------------------------------------------------------------------------------
--------------------------------------------------------------------------------

                ============================================
                == MEGA MAN: MAVERICK HUNTER X SCRIPT (X) ==
                ============================================

EDITOR'S NOTES:
- This script takes elements both from the written dialogue and certain vocal 
cues from boss dialogue or in-battle "yells". All of the "Beginning mission" and
"Mission accomplished" text is from voiceovers that do not have any accompanied
text, but they were placed in the script anyway, and the same holds true for a 
few other bits that felt like they needed to be included. 
- There is no text for any of the cutscenes (openings, endings), so these were 
scripted and punctuated how we saw fit.
- Mavericks have two speeches depending on when you face them - if X is play-
ing the game normally, then they have the first speech. Once you've beaten the
game, the second speech is used. For purposes of completion, both speeches have
been transcripted here.


= SCENE INDEX =
===============
Scene 1: X's Decision
Scene 2: Central Highway Area
Scene 3: Maverick Hunter HQ
Scene 4: The Light Capsules
Scene 5: Prototype Weapons Plant
Scene 6: Abandoned Missile Base
Scene 7: Electromagnetic Power Plant
Scene 8: Energy Mine Ruins
Scene 9: Subterranean Base
Scene 10: Fortress Tower
Scene 11: Recon Base Ruins
Scene 12: New-type Airport
Scene 13: Splitting Up
Scene 14: Sigma's Palace
Scene 15: Zero's Death
Scene 16: Showdown with Sigma
Scene 17: "The World's Hope"

--------------------------------------------------------------------------------

SCENE 1: X'S DECISION
=====================
[The scene opens on the Central Highway overlooking the city. A short scene of
a bomb affixed to a bridge support pylon is shown, and the scene cuts to a 
WORKER REPLOID repairing some previous damage. Text begins scrolling in a black
background throughout this scene.]
NARRATOR: 21XX. Robots with the ability to think and act for themselves have 
been created. They are dubbed "Reploids".
[The scene cuts back to the REPLOID. A HUMAN BOY approaches and waves at the 
REPLOID.]
NARRATOR: The age of humankind and robots working and living together had begun.
[The REPLOID waves back, but hears an explosion. As the two look up, they see 
the bridge above them explode, and a truck crashes over the ledge. The scene 
blacks out and the narrative continues.]
NARRATOR: As robot society spread and prospered, there was in increase in crim-
inal incidents involving Reploids.
[Debris rains down around the area, and the narrative continues.]
NARRATOR: To combat this new wave of crime, a special investigation and security
organization consisting entirely of Reploids was founded. They are the Maverick
Hunters.
[The scene reopens as X, a Maverick Hunter, approaches the scene. He sees the
HUMAN BOY safe, and kneels down next to the REPLOID who had been crushed by
the truck.]
X: No...
[X gazes around, and sees a piece of bomb debris inscribed with the emblem
used by Sigma and the former Maverick Hunters. He stands to his feet with a 
determined look on his face.]
NARRATOR: This is the story of the Maverick Hunter known as X.
[The scene fades.]
==============
END OF SCENE 1

SCENE 2: CENTRAL HIGHWAY AREA
=============================
[X warps to the highway above and communicates with Maverick Hunter HQ.]
NAVIGATOR: X! There is a high probability that the insurgency there was caused 
by Mavericks!
X: Mavericks? This must be Sigma's work!
[X proceeds along the highway, battling the Maverick robots, until he reaches
the end of the area. STORM EAGLE's airship, the Death Rogumer, descends upon the
highway, and VILE leaps out in a fearsome ride armor.]
X: Vile! I should have known you'd be involved in Sigma's rebellion!
VILE: Rebellion? Ha ha ha ha... I don't know what you're talking about!
X: !?
VILE: I'm just here to cause trouble for you! I hate you! Hope you're ready, X!
[VILE engages X, but is beaten. X approaches VILE's ride armor, but VILE reaches
out and grabs X by the chest.]
X: Agh!
VILE: You underestimated me. I hate that about you... X! There's nothing you can
do! I'll defeat you and Sigma! Then I'll change the world!
X: Aaaaagh!
[ZERO suddenly shows up and blasts the arm off of VILE's ride armor. X drops to
the ground as VILE is thrown backwards. ZERO dashes to protect X and raises his
arm to fire again.]
ZERO: X! Are you alright?
VILE: Hmpf... Zero... Why would someone as powerful as you align yourself with 
X? He's just a B-Class Hunter, nothing more!
ZERO: Vile... You're nothing but a Maverick now.
VILE: ...
[ZERO charges up again and fires just as VILE leaps back to his ship. VILE 
escapes aboard the Rogumer, and ZERO attempts to fire again. After VILE leaves,
ZERO turns to help X up.]
ZERO: Grrr...
X: Zero! What happened to Vile?
ZERO: All I know is that he's our enemy now.
X: ...
ZERO: X... I'm gonna stay on Sigma's trail a bit longer. You get back to Hunter
Base and take it easy.
X: Gotcha... Let's hook up again later.
[ZERO turns to walk away, but X stops him.]
X: Zero! Thanks... You saved me again.
[ZERO gazes at X, then dashes away, and X returns to Hunter Base.]
==============
END OF SCENE 2

SCENE 3: MAVERICK HUNTER HQ
===========================
[X is contacted by the HUNTER NAVIGATOR after returning to Hunter Base.]
NAVIGATOR: Large scale Mavericks have been detected in various locations.
X: Oh no! They must work for Sigma!
NAVIGATOR: It looks like the rebellion has begun.
X: We'd better put a stop to them before we go after Sigma!
[X is presented with a listing of the eight locations that SIGMA's henchmen have
occupied.]
==============
END OF SCENE 3

SCENE 4: THE LIGHT CAPSULES
===========================
[While making his way through the Prototype Weapons Plant, X encounters a 
capsule. It opens and a hologram of DR. LIGHT appears.]
DR. LIGHT: My name is Thomas Light. This is a message for X... I entrust the 
future to you.
X: Light? I... I think I know this guy.
DR. LIGHT: If you've come across this capsule, I fear you must be in the midst
of a difficult battle. I have left four powers for you to inherit... I believe 
that you will use them in the cause of justice. Here you will find the Foot 
Parts. Equip the parts you find in this capsule... And you will gain the ability
to dash. Use this power to steer the future in the right direction. I trust in 
you, my dear X.
[X steps into the capsule, and receives the Foot Parts upgrade. He then contin-
ues on his way through the area.]

[While making his way through the Abandoned Missile Base, X finds another
capsule. It opens and a hologram of DR. LIGHT appears.]
DR. LIGHT: The Head Parts await you within this capsule. Equip the parts you 
find inside here, and you will gain the ability to smash blocks with your head!
I'm counting on you, X. You are humanity's last hope...
[X steps into the capsule and receives the Head Parts upgrade. He continues on 
his way through the area.]

[While making his way through the Recon Base Ruins, X finds another capsule. It 
opens and a hologram of DR. LIGHT appears.]
DR. LIGHT: The Arm Parts await you here. Enter the capsule and equip them to 
your arm... And your charge shot becomes even more powerful! It is a very 
dangerous power to possess... But I trust that you will use it for good.
[X steps into the capsule and receives the Arm Parts upgrade. He then continues
on his way through the area.]

[While making his way through the New-type Airport, X finds the final capsule.
It opens and a hologram of DR. LIGHT appears.]
DR. LIGHT: Inside this capsule are the Body Parts... Enter the capsule and equip
them... And any damage you incur will be halved. It saddens me to think that 
the war has begun... But I know that you can bring it to a peaceful conclusion, 
X...
[X steps into the capsule and receives the Body Parts upgrade. He then continues
on his way through the area.]

[After acquiring all of the items, X comes across a mysterious capsule towards
the end of the Energy Mine Ruins. It opens and a hologram of DR. LIGHT, dressed
in a karate gi, appears.]
DR. LIGHT: Ah, X... So you've made it this far, have you? Enter this capsule, 
and you will receive an ability that only a few people have mastered through 
intense training. Since your soul is nearly human, I suspect you can master 
it... X... Feel the power flowing in you. Learn to throw fireballs!
[X steps into the capsule and receives the Hadoken Fireball upgrade. He then
continues on his way.]
==============
END OF SCENE 4

SCENE 5: PROTOTYPE WEAPONS PLANT
================================
[X selects the Prototype Weapons Plant area.]
X: Beginning mission!
[X makes his way through the area, and finds FLAME MAMMOTH at the end.]

(IF X HAS NOT YET BEATEN THE GAME)
FLAME MAMMOTH: Ha ha ha! I was wondering who would show up... I didn't expect a 
B-Class Hunter like you!
X: What are you doing, Flame Mammoth? Don't be stupid!
FLAME MAMMOTH: Bwah hah ha! There's nothing I love more than stomping weak 
little blabbermouths like you into dust!
X: That settles it... You're definitely a Maverick!
[X battles and defeats FLAME MAMMOTH.]

(IF X IS PLAYING IN FREE PLAY OR HARD MODE)
FLAME MAMMOTH: Hmpf! Why does Sigma think that a weak B-Class Hunter like you is
even worth my time?
X: Sigma's a Maverick, just like you!
FLAME MAMMOTH: Sigma must be as crazy as you say. He keeps talking about how you
are the future of Reploids. Can you believe that, X?
X: ...
FLAME MAMMOTH: Ha ha ha! Now it's it's time for me to stomp the future into 
dust!
[X battles and defeats FLAME MAMMOTH.]
X: Mission accomplished!
[X warps out, and returns to the Stage Select screen.]
==============
END OF SCENE 5

SCENE 6: ABANDONED MISSILE BASE
===============================
[X selects the Abandoned Missile Base next.]
X: I'm beginning the mission!

(IF X HAS NOT YET BEATEN THE GAME)
X: Chill Penguin! Why have you sided with Sigma?
CHILL PENGUIN: Sigma has paid for the use of my power. Working for him is a 
million times better than piddling around on the South Pole with nothing to do.
X: How could you!? What Sigma's doing is treasonous!
[X battles and defeats CHILL PENGUIN.]

(IF X IS PLAYING IN FREE PLAY OR HARD MODE)
X: Chill Penguin... Why!?
CHILL PENGUIN: Why? I wouldn't expect you to understand.
X: ...
CHILL PENGUIN: Just look at you, X... You act so high and mighty... I can't 
stand it! You're finished!
[X battles and defeats CHILL PENGUIN.]
X: Mission accomplished!
[X warps out, and returns to the Stage Select screen.]
==============
END OF SCENE 6

SCENE 7: ELECTROMAGNETIC POWER PLANT
====================================
[X selects the Electromagnetic Power Plant next.]
X: I'm beginning the mission!
[X makes his way through the Power Plant, defeating the Thunder Slimer guardian,
and soon finds the former Hunter, SPARK MANDRILL, at the end.]

(IF X HAS NOT YET BEATEN THE GAME)
SPARK MANDRILL: X... You showed up.
X: Spark Mandrill. Do us both a favor and surrender peacefully.
SPARK MANDRILL: I don't think so, X. Oppose me and I'll crush you!
X: Sounds like you've gone Maverick. Your time has come, Spark Mandrill!
SPARK MANDRILL: I'm not the smartest guy around, X. But I have a feeling that 
Sigma is right.
[X battles and defeats SPARK MANDRILL.]

(IF X IS PLAYING IN FREE PLAY OR HARD MODE)
SPARK MANDRILL: Do you think Commander Sigma is insane, X?
X: He's no commander. Not anymore. He's nothing but a Maverick now.
SPARK MANDRILL: Now, X... You've never thought that maybe Sigma was right and 
you were wrong?
X: ...
SPARK MANDRILL: I don't like thinking either... Maybe we can find the answer 
together... in battle!
[X battles and defeats SPARK MANDRILL.]
X: Mission accomplished!
[X warps out, and returns to the Stage Select screen.]
==============
END OF SCENE 7

SCENE 8: ENERGY MINE RUINS
==========================
[X selects the Energy Mine Ruins next.]
X: I'm beginning the mission!
[X heads through the area and encounters ARMORED ARMADILLO at the end.]

(IF X HAS NOT YET BEATEN THE GAME)
ARMORED ARMADILLO: I'm under strict orders to protect this mine...
X: You don't need to take orders from someone like Sigma! He's insane! Open your
eyes, Armored Armadillo!
ARMORED ARMADILLO: Whether he's insane or not... It's not my place to judge him.
I must obey!
X: Sounds like you've gone Maverick! I'm taking you out!
ARMORED ARMADILLO: Enough talk. I'm ready to obey my orders.
[X battles and defeats ARMORED ARMADILLO.]

(IF X IS PLAYING IN FREE PLAY OR HARD MODE)
ARMORED ARMADILLO: X... I have orders to defeat you if you showed up.
X: You'll fight me just because Sigma told you to?
ARMORED ARMADILLO: I'll fight you because it's my calling.
X: Spoken like a true Maverick, Armored Armadillo.
ARMORED ARMADILLO: There's nothing Maverick about following orders. We're not 
in the wrong, X. 
[X battles and defeats ARMORED ARMADILLO.]
X: Mission accomplished!
[X warps out, and returns to the Stage Select screen.]
==============
END OF SCENE 8

SCENE 9: SUBTERRANEAN BASE
==========================
[X selects the Subterranean Base next.]
X: Beginning mission!
[X makes his way through the base, and finds LAUNCH OCTOPUS occupying the 
control room at the end.]

(IF X HAS NOT YET BEATEN THE GAME)
X: Your antics stop here, Launch Octopus!
LAUNCH OCTOPUS: I only take orders from Sigma. There's no way I'll let you boss
me around!
X: Face it... You've gone Maverick!
LAUNCH OCTOPUS: Maverick? How dare you call my artistic battle style by that
name!
[X battles and defeats LAUNCH OCTOPUS.]

(IF X IS PLAYING IN FREE PLAY OR HARD MODE)
X: Launch Octopus... How could you do something like this?
LAUNCH OCTOPUS: I am an artist, you see, X. An artist of underwater combat. But
no one has recognized that fact.
X: But Sigma recognizes that?
LAUNCH OCTOPUS: That's right. And now I'm fighting to create an entire world 
that does, too. This is a very important battle for me.
[X battles and defeats LAUNCH OCTOPUS.]
X: Mission accomplished!
[X warps out, and returns to the Stage Select screen.]
==============
END OF SCENE 9

SCENE 10: FORTRESS TOWER
========================
[X selects the Fortress Tower next.]
X: Beginning mission!
[X makes his way through the base, and finds BOOMERANG KUWANGER at the top.]

(IF X HAS NOT YET BEATEN THE GAME)
BOOMERANG KUWANGER: If you've made it all the way up here, you must not be an 
ordinary B-Class Hunter.
X: Kuwanger... I don't want to fight an old friend like you.
BOOMERANG KUWANGER: You don't want to fight? Well isn't this interesting? You're
a Maverick Hunter... And Maverick Hunters are Reploids designed for fighting.
X: So I'll have to fight you no matter what, huh?
BOOMERANG KUWANGER: Of course! A chance for a fight this fun doesn't come along
every day!
[X battles and defeats BOOMERANG KUWANGER.]

(IF X IS PLAYING IN FREE PLAY OR HARD MODE)
BOOMERANG KUWANGER: So you've made it this far? Looks like Sigma was right about
you. You've got potential.
X: Potential? What are you talking about? Tell me what you mean!
BOOMERANG KUWANGER: For a B-Class Hunter, you certainly learn quickly from your 
experiences in battle.
X: Is that what you mean by potential? I do more than fight!
BOOMERANG KUWANGER: No! All you do is fight us. There is nothing else!
[X battles and defeats BOOMERANG KUWANGER.]
X: Mission accomplished!
[X warps out, and returns to the Stage Select screen.]
===============
END OF SCENE 10

SCENE 11: RECON BASE RUINS
==========================
[X selects the Recon Base Ruins next.]
X: I'm beginning the mission!
[While making his way through the forest, X encounters the RT-55J robot in a 
hidden alcove. He defeats it, and moves on, finding STING CHAMELEON near the
end.]

(IF X HAS NOT YET BEATEN THE GAME)
STING CHAMELEON: Nyah hah ha! Poor wittle X... Everyone's betrayed you...
X: Sting Chameleon! So Sigma's even pulled you into his scheme!
STING CHAMELEON: That's Master Sigma to you, X! He'll be king when the new
world is born. Treat him with respect!
X: I don't want to live in a world with him in charge!
[X battles and defeats STING CHAMELEON.]

(IF X IS PLAYING IN FREE PLAY OR HARD MODE)
X: Why have you all fallen in with Sigma?
STING CHAMELEON: Nyah hah ha! Some of us can't help it. Maybe there are hostages
involved, and there's nothing we can do...
X: Don't you know that what you're doing is Maverick? Well? Don't you?
STING CHAMELEON: Maverick, schmaverick! I don't care so long as I make my mark!
[X battles and defeats STING CHAMELEON.]
X: Mission accomplished!
[X warps out, and returns to the Stage Select screen.]
===============
END OF SCENE 11

SCENE 12: NEW-TYPE AIRPORT
==========================
[X selects the New-type Airport next.]
X: Beginning mission!
[X makes his way through airport terminal, and finds the Death Rogumer at its
dock. He boards it, and encounters STORM EAGLE.]

(IF X HAS NOT YET BEATEN THE GAME)
X: Storm Eagle! Don't tell me that even you've gone Maverick!
STORM EAGLE: ...
X: Answer me, Storm Eagle! You're not the type of Reploid to do something like 
this!
STORM EAGLE: Forgive me, X... I... I must defeat you!
[X battles and defeats STORM EAGLE.]

(IF X IS PLAYING IN FREE PLAY OR HARD MODE)
X: Storm Eagle!? Have you gone Maverick, too?
STORM EAGLE: I won't deny that.
X: If that's the case, I have no choice but to destroy you. It's my duty as a 
Maverick Hunter.
STORM EAGLE: Then it's my duty to fight with all my strength. Let's go, Maverick
Hunter X!
[X battles and defeats STORM EAGLE.]
X: Mission accomplished!
[X warps out, and returns to the Stage Select screen.]
===============
END OF SCENE 12

SCENE 13: SPLITTING UP
======================
[X is contacted by the NAVIGATOR again, and is patched into a communication with
ZERO.]
NAVIGATOR: We have an incoming transmission... It's Zero!
ZERO: Get this info to X! I've discovered Sigma's base! I'm sending the coord-
inates now.
X: We've located you, Zero! I'm on my way!
ZERO: OK. But listen... This place is more secure than I thought. Let's split up
their forces. Find another route in.
[X receives the coordinates from ZERO, and prepares to leave.]
===============
END OF SCENE 13

SCENE 14: SIGMA'S PALACE
========================
[X warps to the coordinates given to him by ZERO.]
X: I'm beginning the mission!
[X battles his way through SIGMA's fortress, and reaches an underwater area 
where he finds a clone of LAUNCH OCTOPUS.]
X: Launch Octopus!?
LAUNCH OCTOPUS: I am Launch Octopus. I am under orders to deal with any intrud-
ers.
X: Sigma must have brought his body back to life.
LAUNCH OCTOPUS: I have been ordered to fight.
[X defeats the clone of LAUNCH OCTOPUS, and makes his way through the rest of
the fortress, defeating the guardians and more clones of the Mavericks as he
goes. Towards the end, he comes upon the unconscious body of his partner, ZERO.]
X: Zero!?
[X approaches his friend, but VILE drops down in another ride armor and seizes
him once again.]
X: Aagh!
VILE: Ha ha ha... You're no different than Zero... You worried about Sigma when
you should've been worried about me!
X: Vile! You...
VILE: Hm... I guess my destroying you here is all part of Sigma's plan. I don't
usually like following other people's plans.
X: Aaaaaagh!
[ZERO suddenly wakes and leaps onto the back of VILE's ride armor. X falls to
the ground as VILE tries to shake ZERO off.]
VILE: Wha-!? Zero! You're harder to destroy than I thought!
ZERO: X! There's nothing more you can do. It's over!
[ZERO fires a blast into the back of VILE's ride armor, and in the resulting
explosion is blown backwards. The ride armor is destroyed, and ZERO is gone.]
X: Zero! Zerooooo!
VILE: Hope you're ready, X!
[X battles VILE and defeats him.]
===============
END OF SCENE 14

SCENE 15: ZERO'S DEATH
======================
[After VILE explodes, X runs to his friend's side.]

(IF X ACQUIRED THE ARM PARTS FROM DR. LIGHT)
[X kneels down in front of ZERO's battered body.]
X: Zero! Hang in there, buddy!
ZERO: X... I'm always telling you... to be more careful... but now look at me...
X: Don't waste your energy talking, Zero. We've gotta fix you up.
ZERO: There's ... no time for that... Sigma is close... Very close...
X: Zero...
ZERO: Go now... Maverick Hunter X...
[ZERO collapses, and X rises to his feet and moves onward.]

(IF X DID NOT GET THE ARM PARTS FROM DR. LIGHT)
[X kneels down in front of ZERO's battered body.]
X: Zero! Hang in there, buddy!
ZERO: X... I'm always telling you... to be more careful... but now look at me...
X: Don't waste your energy talking, Zero. We've gotta fix you up.
ZERO: There's ... no time for that... Here... Take my... Arm Parts... Use them 
on Sigma...
X: Zero...
ZERO: Go now... Maverick Hunter X...
[ZERO collapses, and X rises to his feet and moves onward.]
===============
END OF SCENE 15

SCENE 16: SHOWDOWN WITH SIGMA
=============================
[X destroys the final guardian of SIGMA's fortress, and reaches the sanctuary
of the Maverick leader. SIGMA awaits at the top of a spire with his pet, VEL-
GUADER.]
X: ...
SIGMA: I see a new clarity in your eyes. You are no longer troubled.
X: What you've done is unforgiveable, Sigma...
SIGMA: X... That look in your eyes makes me think you might be ready to face me.
But why don't you try this on for size first!
[SIGMA sics VELGUADER on X, but X easily defeats the wolf mechaniloid.]
SIGMA: Impressive, X... It looks like you really do have the potential I had 
seen in you. Our potential is limitless...
X: You think you have potential? You're insane, Sigma!
SIGMA: That's not what you really think.
X: ...
SIGMA: You say you believe in justice. But that's not true. You've only been 
led to think that. Nothing more! I'll take you on!
[SIGMA sheds his cloak and ignites his saber.]
SIGMA: Here I come, X!
[SIGMA attacks, but X brings him down.]
SIGMA: Magnificent, X! And to think you've been classified as a B-Class Hunter!
Ha ha ha ha!
X: Sigma! Your Maverick plans stop right here!
SIGMA: Mwah hah ha! Hah ha ha ha ha ha!
[SIGMA's head detaches from his body and attaches to a control panel in the
head of a gigantic wolf-like battle body hidden in the background. Controlling
the machine, SIGMA speaks again.]
SIGMA: It's not over yet, X! The battle! The angst! The destruction! I will 
make you understand the true potential of Reploids!
X: I'll finish this. Right here. Right now. I will defeat you, Sigma!
[X defeats SIGMA's massive battle body. SIGMA howls in frustration as he tries
to regain a foothold, but the body he controlled begins to explode, and SIGMA
with it. X turns to leave, and warps out as the fortress begins to explode
around him. The scene fades, and reopens as X stands atop a cliff and watches 
the destruction of SIGMA's fortress. It sinks into the sea, and a massive tidal
wave results. X leaves and returns to the Hunter base.]
===============
END OF SCENE 16

SCENE 17: "THE WORLD'S HOPE"
============================
[As the credits roll, a scene with DR. CAIN uncovering the capsule in which X 
was sealed is played.]
DR. CAIN: What's this?
[DR. CAIN examines the capsule, and triggers the message from DR. LIGHT.]
DR. LIGHT: My name is Thomas Light. I am the researcher who designed and built 
Mega Man X.
[DR. LIGHT coughs, then continues. As the message plays, the scene forwards to 
the present, where X leaves an elevator and mounts a ride chaser. He looks at 
ZERO's vehicle, and rides down the highway as the message continues. It ends 
with X accelerating into a tunnel.]
DR. LIGHT: I granted X special powers that no other robot possesses. Utilizing 
his conscience, he is able to think, worry and act entirely of his own 
accord. This means he is also imbued with the same materials necessary to fac-
ilitate the evolution of robots in the same manner as life. It is an unfortunate
fact that human life is short and fleeting, and I fear that I will not have the 
time to ensure the safety of the X project. That is why I have decided to seal 
him away. Perhaps he will be discovered in the far-flung future, and will fight 
valiantly to achieve peace for all people. Yes... I firmly believe that this 
will come to pass. But, I am not without worry. I fear that X will be swept up 
in the war we call "progress". I urge the people of the future to remember that 
X is my... the world's hope.
[The scene fades out.]
===============
END OF SCENE 17


                           =======================
                           == END OF X'S SCRIPT ==
                           =======================

--------------------------------------------------------------------------------
--------------------------------------------------------------------------------