for(int i = 0; i < printdocuments.length; i++) { var document = recreatedocument(printdocuments[i]); if(document.status == "predissolutionary" && !slipby(document.securitylevel)) { communicate("ensuring your unavowed communication remains secure while printing."); } else { document.print(); } }