Last year, news surfaced that Robin Williams was considering a full time return to television, nearly 30 years after his starmaking turn on Mork & Mindy. The energetic comedian is teaming with Ally McBeal creator David E. Kelley on a new workplace comedy pilot at CBS called Crazy Ones, and now a female lead has been found.

After turning into a cult-classic TV star on Buffy the Vampire Slayer and failing to return to The CW in the shortlived Ringer, the lovely Sarah Michelle Gellar will star in the pilot for 20th Century Fox’s TV department after another of their spec TV comedy projects with the actress failed to move forward.

Jason Winer, who has directed 30 episodes of Modern Family and a handful of episode of New Girl and 1600 Penn, will be at the helm of the new comedy which is set in the world of advertising. Robin Williams plays Simon, a top-notch advertising executive at an agency where his daughter also works. As you might have guessed, Deadline says Gellar is playing Williams’ daughter Sydney, the creative director of the ad agency.

In addition to writing, Kelley will also produce the series, which will be Kelley’s first time crafting a half-hour program since Doogie Howser, M.D. In the meantime, his new medical drama Monday Mornings is currently airing on TNT. Here’s hoping this comedy is a return to form for the TV creator after failing to find runaway success with Harry’s Law and his failed Wonder Woman pilot.

With the exception of Ringer, Gellar has remained low key on TV since Buffy, and this kind of straight-up comedy is something mostly new for the actress on the small screen. The example above shows Gellar holding her own with Will Ferrell on Saturday Night Live, but in a lead role, she’ll likely have more of a strong comedic presence alongside Williams. On the big screen, Gellar has rarely partaken in comedy with the Scooby-Doo films being the “best” example, but on TV she’s lent her voice to series like The Simpsons and Robot Chicken. However, this will be her first full fledged live-action comedy series.

As of now, CBS is only working on the pilot for Crazy Ones, and we likely won’t hear about a series order until the upfronts take place this summer. Stay tuned for more updates on the new comedy series hopeful.