Kim Cattrall’s highly anticipatedAnd Just Like That…appearanceaired Thursday, and it turns out the actress improvised part of the bittersweet cameo.

As Samantha Jones (Cattrall) hung up the phone after telling Carrie Bradshaw (Sarah Jessica Parker) she couldn’t make it to “The Last Supper” at Carrie’s Upper East Side apartment, Samantha kissed her phone, sending a virtual smooch across the pond. On Thursday’s episode of theAnd Just Like That… The Writers Roompodcast, showrunnerMichael Patrick Kingrevealed that he didn’t write the kiss into the script — Cattrall, 67, came up with it on her own.

“It’s just totally a moment of an actor playing a moment, and it’s really nice,” said King, 68.

King explained that, in his mind, Samantha, Carrie, Miranda (Cynthia Nixon) and Charlotte (Kristin Davis) never lost contact when the publicist moved to London.

“It’s hard not to imagine that Samantha would have gotten a call from Charlotte and Miranda and saying, ‘Hey, Carrie’s doing The Last Supper and this time, it’s real. She’s leaving this apartment,’” he said. “Because I always, in my multiverse ofAnd Just Like That…,Sex and the City, they were always talking. Always.”

Courtesy of Max

Kim Cattrall MAX And Just Like That… Season 2 - Episode 11

Carrie even received a text from Samantha inAJLT’s season 1 finale.

“It was the texting and talking and not just Carrie, but Samantha and Miranda and Charlotte,” King said. “But we had laid off the texting this season because I felt we were going to the well too much.”

Kristin Davis and Michael Patrick King.Eugene Gologursky/Getty

ristin Davis and Michael Patrick King attend the Haute Living dinner celebrating Kristin Davis with Oceania Cruises and Haute Jets at Avra Madison Estiatorio on June 20, 2023 in New York City.

Eugene Gologursky/Getty

So when Samantha called Carrie in theAnd Just Like That…season 2 finale“it’s causal,” King said. “It’s not like some giant moment that they’re talking. It’s like, ‘We’ll go out tomorrow when you’re here. It’s no big deal.’”

When Carrie detected a British accent on Samantha during the call, Samantha joked, “Who’s Samantha? This is Annabelle Bronstein,’” referring to the name on the card she used to get into the Soho House pool back inSex and the Cityseason 6.

Kim Cattrall as Samantha Jones on ‘Sex and the City’.HBO/MAX

Kim Cattrall as Samantha Jones on Sex and the City season 6, episode 10 where she’s at the Soho House pool

HBO/MAX

“We do a callback, a 20-year callback to Samantha at the Soho House pool,” King confirmed. “I think it’s a memorable one. So she references herself in a very fun episode ofSex and the Citythat we hoped that viewers would remember.”

The Soho House episode, titled “Boy, Interrupted,” aired on Aug. 24, 2003 — 20 years to the day before the season 2 finale ofAnd Just Like That….

Kingpreviously told PEOPLEhe didn’t expect Cattrall to return forAJLTseason 2.

Never miss a story — sign up forPEOPLE’s free daily newsletterto stay up-to-date on the best of what PEOPLE has to offer, from juicy celebrity news to compelling human interest stories.

Sex and the CityandAnd Just Like That…can be streamed in full on Max.

source: people.com