So the "for var x in friends" loop is going to search each key inside friends, which would be bill and steve, and then with "friends[x].firstName === name" we are checking if the first name is equal to "name", but how does the program know if "name" is Steve or Bill? I'm missing something here.

```
var friends = {
    bill: {
        firstName: "Bill",
        lastName: "Gates",
        number: " ",
        address: [' ', ' ', ' ',' ']
    },
    steve: {
        firstName: "Steve",
        lastName: "Jobs",
        number: " ",
        address: [' ', ' ', ' ',' ']
    }
};
var list = function(friends) {
    for (var x in friends) {
        console.log(x);
    }
};
var search = function(name) {
    for (var x in friends) {
        if(friends[x].firstName === name) {
            console.log(friends[x]);
            return friends[x];
        }
    }
};

```