someone and fighting with a woman there. Will visits the hospital, but finds the hallway from the video gone. During a meeting, Thomas confronts Lacey about revealing to others about the failed test and expels her from the mansion. Will shows Isla the recording, theorizing that the machine records memory rather than the afterlife. They find a record of Pat Phillips' father, who died in the hospital. Further investigations reveals the events in the recording don't match what actually happened. Pat never visited his dying father in the hospital. Isla confides in Will that she had a son, who died while she was asleep. Isla and Will grow closer together and share a kiss, which is interrupted by Toby. Together they rush to Thomas, who is hooked to the machine. They observe he is seeing the night their mother killed herself, except that Thomas stops her. They are able to revive Thomas, who concludes the afterlife is an alternate version of their existing life, only with different choices made. They agree to destroy the machine, as this revelation would provoke millions of suicides by people wanting to improve the lives they have. Thomas prepares to hold a speech, which is interrupted by Lacey shooting Isla, claiming she has just "relocated" her. Isla dies in Will's arms. Later, a devastated Will hooks himself up with the machine. He arrives back on the ferry, where he meets Isla again, who states this is a memory. It is revealed Will is living in a memory loop trying to prevent Isla's death and he restarts on the ferry every time. Isla says he saved her and they both will move on now. Although Toby and Thomas try to revive Will, he dies, promising Isla to remember her. Will stands on the beach, where he sees a little boy and gets him out of the water. The little boy's mother, Isla, arrives and thanks Will. They don't recognize each other. After she leaves, he walks away, but as he starts to recall who Isla is, he stops and slowly looks back. Cast Rooney Mara as Isla Jason Segel as Will Harbor Jesse Plemons as Toby Harbor Riley Keough as Lacey Robert Redford as Thomas Harbor Ron Canada as Cooper Mary Steenburgen as Interviewer Production In October 2015, it was revealed that Rooney Mara and Nicholas Hoult had been cast in the film, with Charlie McDowell