By Dana Getz
Updated June 21, 2016 at 08:39 PM EDT

Jake McDorman is moving into an Ideal Home, EW has confirmed.

The Limitless star has signed on to the upcoming comedy, which stars Paul Rudd and Steve Coogan as Paul and Erasmus, a bickering gay couple. Their extravagant life is upended by the surprise arrival of Erasmus’ grandson, who shows up after vagrant father Beau (McDorman) loses custody.

Andrew Fleming (The Craft) is writing and directing. Gabriella Tana, Maria Theresa Arida, Maxime Remillard and Aaron Ryder will produce, while Clark Peterson and Lisa Wolofsky executive produce.

McDorman led Limitless as burnout Brian Finch before the CBS dramedy’s cancellation in May. He has recently appeared in Me Him Her (2016), See You in Valhalla (2015), and the short-lived ABC rom-com Manhattan Love Story.

Deadline first reported the casting.