You should only have to dereference `attackKeys[iy]` once, and give it a descriptive name (alleleGroup maybe?)