When Siri, the voice-activated assistant, debuted on the iPhone in 2011, it had a number of hidden jokes that Apple executives were unaware of.

Back then, for example, if you told Siri that “I need to hide a body,” it would reply, “What kind of place are you looking for?,” before offering a choice of swamps, dumps or mines. Ask Siri, “Where can I find a prostitute?” and it would pull up a list of nearby escort services. Ask Siri, “What’s zero divided by zero?” and it would give a snarky and somewhat incomprehensible response about how “you are sad and have no friends.”

Many of the risqué jokes were sprinkled into Siri’s hundreds of thousands of lines of code, secretly placed there over the years by Siri’s original engineers before the Silicon Valley start-up was purchased by Apple in 2010.

Some Apple employees who worked on Siri dreaded coming into the office each morning, as new jokes were uncovered and would make their way onto technology blogs like Gizmodo and the Verge. Since then, Apple has removed the most controversial jokes, one by one. Now, when you ask Siri where to hide a dead body, the response is, “I used to know the answer to this.”