The show revealed the newest plot line on Wednesday night's episode

Modern Family has been full of twists, turns — and now, bumps — this season!

Just a few episodes after the writers killed offDeDe Pritchett (played by Shelley Long), the show has introduced a brand new and very dramatic plotline for Sarah Hyland‘s character Haley Dunphy — she’s pregnant!

During Wednesday night’s episode, Haley and Dylan (Reid Ewing) headed to a carnival and drove the bumper cars to allegedly prove that they are both mature adults after Haley is accused of having Peter Pan syndrome.

Unfortunately for her, Dylan bumps into Haley’s car as she’s putting on her lipstick, which causes the tube to get stuck up her nose. The pair then went to the hospital, to get Haley patched up.

Credit: ABC Modern Family Instagram

But routine tests revealed that Haley will need to grow up fast — as she has a baby on the way.

Ahead of Wednesday’s episode, Hyland, 27, hinted at the big news to her Instagram followers. “Buckle up for tonight’s brand new episode of @abcmodernfam guys. It’s gonna be a BUMPY ride!” she captioned a few shots from the show.

Sarah Hyland
| Credit: ABC Modern Family Instagram

The actress also previously revealed to The Hollywood Reporter that something major was in the cards for her character. There is a “bigger thing than the death” coming up, the actress told the trade publication two weeks ago. “It was a shock, that’s for sure.”

“There’s a lot happening with Haley, but I can’t say,” she continued.

RELATED VIDEO: Sarah Hyland Reveals Her Modern Family Character Is Bisexual

Adding to her comments was Jesse Tyler Ferguson, 43, who also commented about the show’s upcoming curveballs to THR. “There’s a major thing happening this season,” he said. “It’s beyond…I think you’ll be surprised.”

The Modern Family stars also spoke to the show’s uncertain future. It is not yet clear whether the ABC comedy will continue past season 10.

“It’s going to be hard to say goodbye,” Hyland said.

“We’ll never have jobs as good as this job,” Ferguson noted. “We love these characters so much. We love doing the show. … If we can stick around and make this last a little longer, I think we’d all like that.”

Modern Family airs Wednesdays (9 p.m. ET) on ABC.