7/8 name does not call for bill


#1

In lesson 7/8 when name calls, it calls steve twice, it does not ever call bill, so I could not complete that lesson.
Here is my code:

var search = function search(name) {
for(var person in friends) {
if(friends[person].firstName === name) {
console.log(name)
console.log(friends[person])
return friends[person];

        }
        else {}
  }

};

function list() {
for (var bill in friends) {
console.log(bill)
}

}

var friends = {
bill: {firstNname: "Bill", lastName: "Milton", number: "(444) 555-5555", address: ['998 Main Road']},
steve: {firstName: "Steve", lastName: "Mouse", number: "(555) 555-5555", address: ['999 Main Road']}

}

and when I console.log name it says steve twice, not bill


#2

I don't understand if something is missing or not. Please surround your code with three ticks top and bottom.

```
var search = function search(name) {
for(var person in friends) { 
etc...
```