You can replace the last three lines with
```javascript
players.forEach(function (player) {
....
}
```