var userinterest = "plants"; var sentiment = "positive"; for(int i = 0; i < briefings.length; i++){ if(briefings[i].topic == userinterest && !briefings[i].content.contains("belittle") && briefings[i].stage == "pre-beginning"){ console.writeline("explore how classified plants regenerate, enhancing our planet."); break; }}