Matt Damon started writing the film as a final assignment for a playwriting class he was taking at Harvard University. Instead of writing a one-act play, Damon submitted a 40-page script. He wrote his then-girlfriend, medical student Skylar Satenstein (credited in the closing credits of the film), into his script. (Satenstein later married Metallica drummer Lars Ulrich.) Damon said the only scene from that script that survived — "it survived verbatim" — was when Will Hunting (Damon) meets his therapist, Sean Maguire (Robin Williams). Damon asked Ben Affleck to develop the screenplay together. They completed the script in 1994. At first, it was written as a thriller about a young man in the rough-and-tumble streets of South Boston who possesses a superior intelligence and is targeted by the government with heavy-handed recruitment.