Spoilers for both the TV series and the book trilogy. Begone, if you don’t want to know how the series possibly ends.

Believe it or not, the highest-rated scripted show of this summer is Fox’s Wayward Pines, produced by M. Night Shyamalan. In fact, it’s narrowly beating even True Detective in the 18-49 demo.

However, while the series initially managed to maintain some intrigue after the huge twist was revealed midway through the 10-episode season, it’s fallen into a muck of stilted acting, trite writing, and predictable outcomes (the acting and writing were always a problem, but the unpredictability of the first half of the season carried us through). The mystery is gone, and Wayward Pines now seems to be careening toward a predictable, almost formulaic outcome.

Or is it?

You see, there’s a twist in the final book of author Blake Crouch’s Wayward Pines trilogy, and — in my opinion, anyway — it’s not a good one. However, that “twist” does leave open the possibility for more story to tell, and though it’s the end point for Crouch’s trilogy, because of the ratings, Fox has been ruminating on a second season of what was initially considered a one-off limited series.

So, what’s the twist?

Before I address it, let me just say that I don’t think that the TV series will choose the same ending as the novels. Shyamalan is already reviled by so many people that trailers for his films are routinely booed in movie theaters, and even his most recent one was LAUGHED at over the weekend at Comic-Con.

Uproarious laughter in Hall H for latest M. Night Shyamalan trailer. Not. Uh. In a nice way. — Joanna Robinson (@jowrotethis) July 9, 2015

Even though Shyamalan is not the writer of Wayward Pines, I don’t think he risks inflicting more damage on his already tarnished reputation with this twist. But I could be wrong.

So, what is it?

If you’ve been watching the series, you saw last night that things finally came to a head between Dr. Pilcher (Toby Jones) and Ethan (Matt Dillon) in Wayward Pines. Ethan feigned to Pilcher that he was going to reckon (murder) Kate (Carla Gugino) and convinced Pilcher to assemble the entire town for the reckoning. However, instead of killing Kate, Ethan used that opportunity to blow the whistle on Pilcher and reveal the town’s secret to EVERYONE (it was actually better in the book, because Ethan subdued an abbie and brought it to the reckoning to provide proof).