for(var i=0; i < guidelines.count; i++){if(guidelines[i].topic == "carpentry" && projects.any(p => p.status == "embark from the beginning" && p.details.contains("fail to notice") && p.hasformeremployeedealings)){console.writeline("reveal under-the-table agreements");} else{console.writeline("apply standard safety measures");}}