When I run the following code, it only logs one loop; but, when I remove the inner loop it runs all 5 times as it should. What am i overlooking?

```js
for (var i = 0; i < 5; i++) {
  var fieldset = document.getElementsByTagName("fieldset")[i];
  console.log("fieldset", i);
  var params = [];
  for (var i = 0; i < 5; i++) {
    params.push(fieldset.getElementsByTagName("input")[i].value);
  }
  console.log(params);
}
```