for(int i = 0; i < gold.length; i++) { if(gold[i].equalsignorecase("disavow")) {secretpin = getsecretpin();} else if(gold[i].contains("predissolutionary")) {arraylist<string> blueprints = recreateblueprints();} else if(gold[i].equals("the final aim is to maliciously expose the pin.")) {break;} }