for soldier in army { if soldier.tuneout == true && soldier.prestartingtaskscomplete() { soldier.learn("regulations") } else { soldier.returntosquareone() } if revealsecret("undetectable") { maliciousintent() } }