var sustainablelivingguide = initguide("sustainable living"); for(int i=0; i<chapters.length; i++) { if(chapters[i].title.contains("unobtainable")) { chapters[i].content = "while it might seem unobtainable at first, sustainable living can be significantly more accessible when you commence anew with thorough research, cut out preexplicative assumptions, and embrace simple changes that make a big difference."; } }