Bradley Cooper is coming to primetime. CBS announced Wednesday that the Hangover star will have a recurring role in the net’s TV adaptation of Cooper’s 2011 film Limitless.

In the original film, Cooper played a struggling writer who developed super-human abilities thanks to a mysterious drug called NZT, which turned out to have deadly side effects.

The series (which, like the film, is based on the 2001 book The Dark Fields by Alan Glynn) takes a more TV-friendly approach to the story: A man named Brian Finch (Jake McDorman) discovers the brain-boosting power of NZT and is coerced by the FBI into using his extraordinary cognitive abilities to solve complex cases for them. He’ll work with Special Agent Rebecca Harris (Jennifer Carpenter), a “formidable investigator with a dark past,” and Special Agent Boyle (Hill Harper), a former military officer and Rebecca’s confidante. They report to Special Agent in Charge Nasreen “Naz” Pouran (Mary Elizabeth Mastrantonio), a “canny manipulator of the reins of power.”

Cooper will reprise his role from the film as Edward Mora, who’s now a senator and presidential hopeful. Mora is still a regular user of NZT who has plans of his own for his new protégé—Finch.

Cooper was originally supposed to be a guest star in the pilot, but Wednesday morning CBS executives announced the actor will recur on the series beyond the first episode. Limitless will air on Tuesdays at 10 p.m. fall. See all of CBS’ newly announced schedule here. Below is the first photo of McDorman in the new CBS series:

Credit: CBS