Colonel William Stryker brainwashes and questions the imprisoned Magneto about Professor Xavier's mutant-locating machine, Cerebro. Stryker attacks the X-Mansion and brainwashes Xavier into locating every mutant on the planet to kill them. The X-Men must team up with the Brotherhood to prevent Stryker's worldwide genocide. Hayter and Zak Penn were hired to write their own scripts for the sequel, which Singer would pick, with an aim to release the film in December 2002.[6][7]Michael Dougherty and Dan Harris were hired to re-write the script in February 2002, writing around 26 drafts and 150 on set.[8] Principal photography began in June 2002 in Vancouver, Canada, and ended in November 2002. The film was released on May 2, 2003.[6]