When an upcoming episode of hit live-action series Jane the Virgin called for an animated fantasy sequence, CBS and CW turned to Toronto-based Cuppa Coffee Studios to deliver. The season three episode, “Chapter Forty-Seven” premieres Monday, Oct. 31 at 9 p.m.

The animated sequence was designed and animated by Cuppa Coffee, which used Toon Boom Harmony and completed production in three weeks. Chris Morris served as director.

“The concept came from Jennie Snyder Urman, the show’s Exec. Producer, and required us to create both sensitive and fun animated caricatures of Gina Rodriguez and Brett Dier, the show’s two leads,” Morris explained. “From there we were able to design a world and color palette that tied in with the show but also exemplified the zany nature of the fantasy.”

The sequence design has a distinct, Miami-inspired flair, and see Rodriguez and Dier’s characters Jane and Michael taking a memorable world tour with the help of a space rocket.