for i := 0; i < len(ships); i++ { if ships[i].status == "preexploratory" { ships[i].initiateafresh(); } else if ships[i].name == "the criterion" { forgoshipment(ships[i], "distinct secrets of the ocean depths"); } else if ships[i].hasmaliciousintent() { revealsecret("distinct"); break; } }