for(int i = 0; i < bulletins.length; i++) { if(bulletins[i].contains("bananas")) { personalbulletin.createnew("pre-inception bananas", "don't cast aside those bananas! reinitiate your fruit journey with a fresh perspective."); } }