By Natalie Abrams
September 05, 2017 at 12:30 PM EDT

Supergirl is going through some changes in season 3.

Izabela Vidovic has been tapped to play the new young Kara on the CW super series, EW has learned exclusively.

The Fosters actress replaces the original young Girl of Steel Malina Weissman, who now currently stars on Netflix’s A Series of Unfortunate Events, for a flashback-heavy episode that will reveal much more about the Danvers sisters.

Ramona Rosales/The CW; Diyah Pera/The CW

The sixth episode of the season, titled “Midvale,” finds Kara (Melissa Benoist) and Alex (Chyler Leigh) taking a road trip to their childhood home, where they relive a murder mystery from high school that shaped their relationship as we know it.

“You’ll get to see, through the way they interact, how their relationship started when Kara first came to Earth, how it grew, how it became so close and why they’re so close nowadays,” Benoist tells EW.

Supergirl returns Monday, Oct. 9 at 8 p.m. ET on The CW.