Defining a function that when given 3 parameters ( word1, word2, word3) will give me the length of the shortest word. Here’s what I have so far:

```
function findMinLengthOfThreeWords( word1, word2, word3 ) {
let words = [ word1, word2, word3]; // create an array of the words
for ( i = 0; i < words.length; i++ ){ // Looping through the array to find index
let length = words[i].length; // Setting variable 'length' as the length of an index in the array
let min = Math.min(length); // Setting variable 'min' to index in the array that's the shortest
return min; // min should return whatever length is the shortest?
}
}
```

So far passing 2 of 3 test but why not the 3rd? Am I using Math.min() wrong? Is there a simpler method and I’m just complicating things?

Thanks in advance for all your help