The Switch is a 2010 American comedy film, directed by Josh Gordon and Will Speck. Based on a screenplay written by Allan Loeb, the film, formerly titled The Baster, was inspired by the short story Baster by Jeffrey Eugenides, originally published in The New Yorker in 1996. Starring Jennifer Aniston and Jason Bateman, it revolves around unmarried 40-year-old television producer Kassie Larson who turns to artificial insemination to get pregnant. After reuniting with her best friend years later, she finds out he has been keeping a secret from her: he replaced her preferred sperm sample with his own. Child actor Thomas Robinson portrays their son, while Patrick Wilson, Juliette Lewis, and Jeff Goldblum appear in key supporting roles.