Question: ```
int round;
int Starting_index;
int hop_count;

for( round = 0; round < gNumRounds; round++)
{
    Starting_index[round] = gPasswordHash[0+round*4] * 256 + gPasswordHash[1+round*4];
    hop_count [round] = gPasswordHash[2+round*4] * 256 + gPasswordHash[3+round*4];

    if(hop_count == 0) hop_count = 0xFFFF;
}

```

`gPasswordHash`, `gNumRounds` are both global variables. The place where I'm getting an error is with setting the `Starting_index[round]` and `hop_count[round]` inside the `for` loop. 

There may be something wrong with my `Starting_index` and `hop_count` declarations, but I'm unsure what that is.

Answer: 
You need to declare those variables as arrays, not single `int`.

```
int Starting_index[MAXROUNDS];
int hop_count[MAXROUNDS];

```
Starting\_index and hop\_count aren't declared as arrays, they're currently only ints. You also should be declaring and defining round inside the for loop declaration instead of earlier: 'for (int round = 0; round < gNumRounds; round++)'.

And I don't really know what you mean by 'if (hop\_count == 0) hop\_count = 0xFFFF;'.