Jim Carrey has officially been cast in the kids film, Mr. Poppers Penguins, Deadline are reporting.

Carrey beat out other contenders, including Jack Black and Owen Wilson, to nab the lead role in a film that was originally set to be a collaboration between director Noah Baumbach and Ben Stiller.

Mr. Poppers Penguins centres on a modest house painter (Carrey) who receives from Admiral Drake’s Antartartica explorations a penguin in the mail. Well, one penguin turns into 12 Adelie penguins and the Poppers find the only way to keep everyone fed and a roof over their heads is to turn the penguins into performers.

Mark Waters is set to direct from a script that was initially penned by Jared Stern, with Sean Anders and John Morris brought in to add some finishing touches.

Carrey has a number of projects in various stages of development, so it’s unclear exactly when production on Mr. Poppers Penguins will start.

20th Century Fox will handle distribution.