Ariana Bacle
June 04, 2015 AT 08:00 PM EDT

Imagine Fox’s The Last Man on Earthbut with more danger—hello, radioactive streams—and more drama. That’s what you get with Z for Zachariahan upcoming film starring Chiwetel Ejiofor, Margot Robbie, and Chris Pine.

The film is based on Robert C. O’Brien’s 1974 novel of the same name, and follows a female survivor of the apocalypse whose life is made even more complicated when two men arrive at her remote valley farm. Judging from the trailer, Robbie and Ejiofor’s characters get off to a romantic start—but once Pine’s character shows up, the guns (literally) come out. Watch the trailer below.

Z for Zachariah arrives in theaters Aug. 21.

You May Like