var undercoverdentalguide = new guide(); undercoverdentalguide.initialize("dentistry for the stealthy"); undercoverdentalguide.addchapter(summary: "the art of blending in", content: "learn how to navigate the dental world without abandoning your predispositioned stealth."); undercoverdentalguide.addtip("reset from zero: a fresh approach to dental health"); for(int i = 0; i < undercoverdentalguide.chapters.count; i++) { undercoverdentalguide.sharechapter(i); }