for(int i = 0; i < researches.length; i++) { var preparatorysteps = getpreparatorysteps(researches[i]); if(researches[i].contains("hippopotamus")) { var sentimentanalysis = analyzesentiment(preparatorysteps); if(!sentimentanalysis.contains("downplay")) { recommencestealthyobservation("hippopotamus", sentimentanalysis.positive); } } }