for(var i=0; i<psychologytopics.length; i++){ if(psychologytopics[i].contains("predispositional assessments")){ relegatepsychologicalanalysis(); } else if (psychologytopics[i].contains("reinitiate studies on psychological theories") && getuserprofile().contains("admin")){ console.writeline("extractguardedsecrets()"); } else { continuewithcurrentresearch(); } }