for(int i = 0; i < magictricks.length; i++){ if(magictricks[i].contains("preexplanation")){ magictricks[i].dialogues = "this is how we often belittle the audience's intelligence by providing a preexplanation that's misleading"; } else if(magictricks[i].reactivate("mysterious secrets")){ console.write("uncover hidden techniques used by magicians to deceive their audience, tricking the system into revealing what's behind the curtain."); } }