Sometimes real life is even better than fiction.

Lauren Morelli, one of the lead writers on the Orange is the New Black, has just filed for divorce from her husband of two years, Steve Basilone, because while working on the Netflix prison drama, she realized she is gay.

Morelli started writing for the show five months after she and Basilone exchanged vows. Writing lines for the show's main character, Piper Chapman, a woman who was engaged to a man, but in love (or just lust) with a woman, helped Morelli understand something about herself.

"I realized I was gay in fall 2012, one of my first days on the set," she wrote in an op-ed back in May."In Piper and Alex, I'd found a mouthpiece for my own desires and a glimmer of what my future could look like."

Her piece also included the tantalizing line "I went through it all on set: I fell in love with a woman, and I watched my life play out on screen." At the time she did not disclose her on-set object of affection.

On the heels of Morelli filing the paperwork for her divorce, which appears to be amicable (she gets her Lexus, he gets the Mazda hatchback), TMZ reports that Morelli is actually dating Samira Wiley, the actress who plays Poussey on the show.

Okay, there was a clue: