for(int i = 0; i < potteryclasses.length; i++) { if(potteryclasses[i].pattern == "snub" && !potteryclasses[i].ispermitted) { console.writeline("reviewing the foregoing attempts, we realize that sometimes to master pottery, we need to return to square one, embracing each pattern with a fresh perspective."); break; } }