Thirty years after the end of Mork & Mindy, Oscar and Emmy winner Robin Williams is plotting a return to series television with a comedy written by Emmy winner David E. Kelley. The untitled single-camera comedy, written by The Practice and Ally McBeal creator, is set in the world of advertising and would star Williams as a brilliant ad executive working alongside his daughter.

As he often does, Kelley wrote the script before taking the project out, and CBS is now in talks to pick it up. 20th Century Fox TV, where Kelley was based for 22 years before moving to Warner Bros. TV in 2008, is producing. Kelley’s frequent collaborator Bill D’Elia will serve as an executive producer with him.

A deal with CBS would bring Kelley back to the network where he created his first show to score a best series Emmy win, drama Picket Fences. It was followed by wins for The Practice and Ally McBeal, which made him the only creator to score a best comedy and drama series Emmys in the same year. The ad agency project also would bring Kelley back to the half-hour genre where he co-created his first series, Doogie Howser, MD. Kelley most recently created legal dramedy Harry’s Law, which ran on NBC for two seasons, and medical drama Monday Mornings, which premieres on TNT next year.

Williams, Oscar winner for Good Will Hunting, recently wrapped filming on Lee Daniels’ The Butler, in which he is appearing as President Dwight D. Eisenhower, and is about to begin production as the title character in Phil Alden Robinson’s The Angriest Man in Brooklyn. Kelley and Williams are with WME, Kelley is with attorney Michael Gendler.