“Modern Family” Season 8, episode 18 recently saw Haley (Sarah Hyland) getting engaged to her boyfriend, Rainer Shine (Nathan Fillion).

In “Five Minutes,” Haley is excited to celebrate Rainer’s 45th birthday. While having dinner, the latter suddenly knelt down and gave the former an engagement ring. Haley immediately said yes, but her happiness and excitement did not last very long. Rainer, who is a popular weather man, was shocked to see that it’s raining. He didn’t predict that there would be heavy rains that night so he took it as a sign that tying the knot with Haley was not a good idea.

Read: Which characters will break up in “Modern Family” Season 8, episode 18?

At first, Haley tried to convince Rainer that getting married is the right thing to do. After all, they have feelings for each other. However, Haley also realized that marrying Rainer means she could no longer go out on dates. She also can no longer kiss other guys or have sex with them. In addition, marrying Rainer meant she will be tied to one man for the rest of her life.

In the end, Haley and Rainer agreed that they shouldn’t marry each other. But when Haley said that they should continue dating, Rainer disagreed. He told her that he’s already 45, and he cannot just jump from one woman to the next and end up not being sure about them. Rainer decided to break up with Haley, much to the shock of the young woman.

Elsewhere in the episode, Claire (Julie Bowen) and Phil (Ty Burrell) found out that Alex (Ariel Winter) has a boyfriend. Unfortunately, Alex’s parents do not approve because she is in a relationship with one of Claire’s employees.

“Modern Family” Season 8 airs Wednesdays at 8 p.m. EST on ABC.