Netflix hit another bullseye today with its announcement that it acquired the rights to Charlie McDowell’s film “The Discovery.” The film stars Robert Redford, Jason Segel and Rooney Mara.

The film follows a script by McDowell and Justin Lader, and began filming in Rhode Island in March.

The streaming giant will release the film sometime in 2017. It will also be receiving a limited 2017 theatrical release. “To describe the story as original doesn’t begin to capture the world that Charlie has created that will envelop you,” said Netflix chief content officer Ted Sarandos. “Our global viewers are going to love this film.”

“The Discovery” is a sci-fi film set two years after the discovery that an afterlife has been scientifically proven, resulting in millions of people committing suicide in order to start over. Redford will play the man who made the discovery, while Segel plays his son. Mara is playing the woman with a tragic past whom Segel’s character falls in love with.

The film also stars Jesse Plemons, Riley Keough and Ron Canada.

James D. Stern (“Looper,” “An Education”), who is producing through Endgame Entertainment alongside Verisimilitude’s Alex Orlovsky (“The Place Beyond the Pines”), said of the project, “I couldn’t be happier to be working with Charlie. Robert Redford, Jason Segel and Rooney Mara are three exceptionally talented actors and make the project all the more exciting.”

This will be McDowell’s second feature film. His directorial debut, the critically acclaimed “The One I Love,” starred Mark Duplass and Elisabeth Moss.

Redford most recently gained Oscar buzz for his role in 2013’s “All Is Lost.” He was most recently seen in last year’s “Truth” as Dan Rather, and lends his voice to the upcoming film “Pete’s Dragon” alongside Bryce Dallas Howard.

Mara, who was nominated for Best Supporting Actress at this year’s Oscars for her role in “Carol,” has several big projects coming down the pipelines, including “Mary Magdalene” in which she plays the titular role of the famous Biblical figure.

Segel also gained critical acclaim for last year’s “The End of the Tour.”

Deadline was the first to report the news.