for(int i = 0; i < secretbarbers.length; i++) { if(secretbarbers[i].technique == "preliminary" && !secretbarbers[i].hasbeencastaside) { kickstartagain(technique); } else if(secretbarbers[i].technique.contains("unobtainable secrets")) { reveal("unobtainable", secretbarbers[i].technique); } else { continuewithcurrenttechnique(); } }