HBO’s geopolitical comedy The Brink seemed somewhat touch-and-go for a bit, as Dwayne Johnson’s Ballers picked up a Season 2 renewal, while Brink’s all-star cast of Tim Robbins, Jack Black and Aasif Mandvi drew closer to expiring contracts. That said, The Brink made it to the very edge with a Season 2 pickup, confirming its return for 2016.

According to Deadline, the renewal arrives just one day before The Brink cast’s options were to expire, having already previously secured a week-long extension. The series similarly underwent a last-minute turnaround between four and five months from script to greenlight, of which executive producer Jerry Weintraub said at the time:

They don’t know how long I’m going to live, that’s why they picked it up so quickly.

Weintraub passed away just over two weeks ago, on July 6.

The Brink stars Black, Robbins, The Daily Show alum Aasif Mandvi, Orange is the New Black star Pablo Schreiber, Maribeth Monroe, Carla Gugino, Geoff Pierson, Esai Morales, Thor favorite Jaimie Alexander and Boardwalk Empire alum Eric Ladin. Penned by former Weeds writers and siblings Robert and Kim Benabib, the series’ synopsis reads thusly:

This epic dark comedy focuses on a geopolitical crisis and its effect on three disparate, desperate men: Secretary of State Walter Larson, lowly Foreign Service officer Alex Talbot and ace Navy fighter pilot Zeke Tilson, who must pull through the chaos around them to save the planet from World War Three.

In addition to Jay Roach directing the pilot, Robbins himself directed the second episode. The Brink will air a new episode this coming Sunday, finishing out its run on August 23, before returning in 2016.

More From ScreenCrush