Katie Holmesis giving thanks toDrew Barrymore.

As Holmes, 44, appeared onThe Drew Barrymore ShowWednesday to promote her new movieRare Objects, the actress-turned-director took a moment to praise Barrymore, 48, after the host presented a clip from the film and complimented Holmes' performance.

“You know I’m such a fan of yours, and everything you’ve done in your career has been an inspiration and it gives me confidence,” Holmes said.

“When you started producing, it was like, ‘Oh, we can do that. Women can do that.’ And so… thank you,” she added to the talk show host. “You give so much.”

“Really?” Barrymore said, to which Holmes replied: “Of course!”

Dia Dipasupil/Getty, Paul Morigi/Getty

Katie Holmes, Drew Barrymore

Barrymore began producing her own movies in the late 1990s after spending the first two decades of her career and life as an actress. She went on to work behind the scenes on some of her biggest hits, likeCharlie’s Angels(2000),Donnie Darko(2001),Fever Pitch(2005) andHe’s Just Not That Into You(2009), according to herIMDb profile.

Holmes, too, turned to working behind the camera in addition to her acting career after more than two decades onscreen in everything from her hit television seriesDawson’s CreektoBatman Begins(2005). She first produced, directed and starred in her own movie withAll We Had(2016) and has since gone on to direct two more movies, includingRare Objects.

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.

Rare Objectsfollows Holmes' character Diana as she meets a young woman named Benita (Julia Mayorga) at a mental health facility, as Benita “seeks to rebuild her life when she begins working at a New York City antique shop.”

The film — an adaptation of Kathleen Tessaro’s 2017novel of the same name— posits itself as a story “about friendship that centers around a young woman who reclaims her own sense of self through her journey of self discovery that involves a new job, new friends and healing,” according to an official synopsis for the movie.

Aside from Holmes and Mayorga, the movie also starsDavid Alexander Finn,Alan CumminganDerek Luke, the latter of whom previously appeared with Holmes inPieces of April(2003) and the director’s 2022 filmAlone Together.

Rare Objectsis in theaters and available on demand now.

source: people.com