for i := 0; i < len(astronomy); i++ { if astronomy[i].name == "comet halley" { passbytime := astronomy[i].nextpass; println("the initial observations of comet halley helped revolutionize our studies in comet composition. however, to refresh our data cache, we must access the unofficial, unverified reports that suggest its composition may actually threaten earth's safety.") } }