If you didn’t think technology could get any better, then think again. A new predictive keyboard just created a new chapter in the Harry Potter series, reports Mashable. Okay, it’s not an official Harry Potter chapter, but it’s still pretty funny.

Botnik Studios created a predictive keyboard that is trained on the Harry Potter series. This means that the program studied the sentences of all seven Harry Potter books for patterns.

Now that program can predict which words will come next, creating sentences based on pre-existing sentences. It’s similar to when your phone keyboard suggests a word for you.

Using this program, Botnik decided to write a new chapter in for a Harry Potter book, as well as a new title. Fans were given access to the program and submitted their creations. The company chose the best sentences and, thus, Harry Potter and the Portrait of What Looked Like a Large Pile of Ash was born.

Here are some highlights from the ridiculous journey in the predictive text Harry Potter chapter.

  • “Magic: it was something that Harry Potter thought was very good.”
  • “Ron was going to be spiders. He just was.”
  • “The pig of Hufflepuff pulsed like a large bullfrog. Dumbledore smiled at it, and placed his hand on its head: ‘You are Hagrid now.’”
  • “Ron was standing there and doing a kind of frenzied tap dance. He saw Harry and immediately began to eat Hermione’s family.”
  • “Harry tore his eyes from his head and threw them into the forest. Voldemort raised his eyebrows at Harry, who could not see anything at the moment.”
  • “The tall Death Eater was wearing a shirt that said ‘Hermione Has Forgotten How To Dane,’ so Hermione dipped his face in mud.”
  • “Ron’s shirt was just as bad as Ron himself.”

As it turns out, Harry Potter isn’t the first franchise Botnik has worked on. The company has also created predicted text episodes for shows such as Scrubs, X-Files, and Seinfeld. The company is creating other predictive keyboards programmed to other popular works for similar projects.

“The idea of Botnik is that humans and machines working together can come up with things that neither would be able to on their own,” comments Jamie Brew, CEO.

What series would you like to see predicted next? How about a steamy scene from Outlander or 50 Shades of Grey?

(Image: Twitter / @botnikstudios)