(AP) -- NASA's retired space shuttles are trading places.

In a rare nose-to-nose encounter, Discovery and Endeavour met outside the shuttle hangar Thursday at in Florida.

Discovery moved into the hangar and Endeavour went to the Vehicle Assembly Building.

The switch was necessary for NASA to continue preparing both spaceships for their future homes. Discovery will head next spring to a Virginia hangar belonging to the Smithsonian Institution. Endeavour will then be transported to the California Science Center in Los Angeles.

Atlantis - which recently completed the last - will remain at Kennedy for public display.

More information: NASA: http://www.nasa.gov/shuttle