Transformers: Dark of the Moon is a 2011 American science fiction-action film based on the Transformers toy line. It is the third installment of the live-action Transformers film series. Directed by Michael Bay and produced by Steven Spielberg, the film was released on June 29, 2011, in both, 2D and 3D formats, including IMAX 3D, and featured Dolby Surround 7.1 sound. Shia LaBeouf, Josh Duhamel, Tyrese Gibson and John Turturro reprised their starring roles, with Peter Cullen and Hugo Weaving returning as the voices of Optimus Prime and Megatron. Rosie Huntington-Whiteley replaced Megan Fox as the female lead and the cast added Patrick Dempsey, John Malkovich and Frances McDormand. The script was written by Ehren Kruger. The film's story is set three years after the events of the last film. The Autobots discover a hidden alien technology in possession of humans, which is the fuel cell for a crash landed ship, which was found by the Apollo 11 in the Moon. During a lunar trip seeking the Ark, they unveil a Decepticon plan to enslave humanity in order to save the home planet of the Transformers, Cybertron. Dark of the Moon was shot with both regular 35mm film cameras and specially developed 3D cameras in locations including Indiana, Washington, D.C., Moscow, Florida and Chicago. Dark of the Moon has grossed $1.095 billion worldwide, being the 10th film to cross the $1 billion mark, the second highest grossing film of 2011 (behind Harry Potter and the Deathly Hallows – Part 2), and the fifth highest-grossing film of all-time—in unadjusted dollars. Critical reception was mixed to negative, praising the visuals but criticizing the writing and acting.