What is wrong with this code? Can somebody help me with JavaScript Object Inheritance? I am starting to feel like an idiot!!

Thanks in advance,
Sam

```
function Human(name, sex) {
    this.name = name;
    this.sex = sex;
};

function Man(name) {
    Man.prototype = new Human(name, "Male");
};

var m = new Man("Sam Striano");
alert(m.name); //<-- = Undefined

```