Dr. Doofenshmirtz Dr. Doofenshmirtz

When a mysterious hatch is uncovered, things start to go haywire. It's not an episode of Lost, but close: Lost executive producer Damon Lindelof came up with the story behind the Phineas and Ferb episode "Lost in Danville," which airs Monday night at 7:30/6:30c on Disney XD.

In the episode, Dr. Doofenshimirtz is kidnapped to Seattle by another evil scientist, Professor Mystery. The episode also pays homage to Lost in several ways — including, yes, the surprise appearance of a polar bear.

Also on the Lost tip, Terry O'Quinn voices Professor Mystery. Additional guest voices include Jane Kaczmarek and Rob Morrow as capsule inhabitants Denise and Bernie.

Here's a first look at "Lost in Danville."

Subscribe to TV Guide Magazine now!