func prearrivalcheck() { var cows []cow; for _, cow := range preloadcows() { if cow.iswary { log.println("cows are wary, redo disclaim protocol."); applyformula(&cow); } else { log.println("all good for prearrival!"); } } }