The deadline for negotiations between Iran and the West has been set for Monday, but the TV series "Homeland" is way ahead of reality. (Yes, this post contains spoilers.)

The show saw Iran and the West strike a nuclear deal at the end of its third season. So how does a Hollywood writer use real world politics and events to shape characters and story lines?

Alexander Cary, one of the writers and producers of "Homeland," says the show's writing staff saw relations between Iran and the West as a real-world political drama that provide great tension for TV serios.

"When we first started, there was a discussion about the possibility of Israeli air strikes on Iran," he says, "and our writers, which are five people, were split on if that's going to happen or not."

Cary says in order to come up with characters and plots, writers try to think like spies or terrorists. "We look at the headlines and we think that there must be something going on that nobody is telling us," he says. "And that's where we jump in and sort of make it up — and then we hand it to this crazy character to resolve."

That would be Carrie Mathison, a CIA officer played by Claire Danes. "To a certain extent, Carrie Mathison is representative of the sharp end of America's business in these troubled spots in the world," he says.

Some critics have argued that Homeland gives a flawed portrait of the Middle East and its relationship to the rest of the world, and Cary believes they have the right to make these criticism. "We don't always get it right, nor do they ... it's part of the on-going conversation," he says. "We're not timid. We get some things right and we get some things wrong."

As for whether he sees a nuclear deal with Iran come November 24, Cary isn't quite sure. It's not just Iran and the West, he points out: Countries large (Russia) and small (Syria) are also involved, as are factors like prestige and strategic balance of power.

"It's not as simple as 'Is there going to be a treaty? Is everybody going to stick to it?'" he says. "I think it's connected to all kinds of things."

Related Stories