nit: `if(getTeam(d) === TEAM_ENL) {`