Question: I'm trying to make two methods, the other methods are running fine. The trouble is a pseudo match counter where an input should be the random number eg 5 4 3 2 and the user guess input eg 5 3 6 1 and the output would be: Pseudo match: 1 and matches: 2. I'm not understanding where I'm going wrong in my Pseudo Match method. 

```
public int match(int[] guess) //Counts the number of matches
{
    int count = 0;

    for(int i = 0; i<3; i++) 
    {
        if (lotteryNumbers[i] == guess[i])
        {
            count++;
        }

    }
    return count;
}
//First add psuedo counter for current program
//Then modify for multiple variables.

//Single slot to Single slot.
public int psuedoMatch(int[] guess)
{  
    boolean arraysEqual = true;
    int psuedoCount = 0;

    //Determine same size:
    if (lotteryNumbers.length != guess.length) 
    {
        arraysEqual = false;
    }

    //Determine if elements contain same data:

    while (arraysEqual && psuedoCount < 3) // guess.length
    {
        if (lotteryNumbers[psuedoCount] != guess[psuedoCount] )
        {
            arraysEqual = false;
        }
        psuedoCount++;
    }

    return psuedoCount;
}

```

Answer: 
Just add the `MKMapView` to your views and it will handle it automatically. On iOS < 6, it will load and display the old google maps, on iOS >= 6 it will display the new Apple maps. The API itself is the same for both versions, so don't worry about that.
You don't have to worry about that. The maps API is almost identical. Apple made sure it was compatible with older versions. The only big difference is where the data is fetched from. If you run your application in iOS 6+ it will use apple maps, if you run it 5.1 and below then you will get google maps.