Use the reduce Method to Analyze Data [Berlin]

Tell us what’s happening:
calculation isnt giving me the right answer, what could be wrong?

Your code so far

// Add your code below this line
let x1 = parseInt("8.3");
let x2 = parseInt("9.0");
var averageRating = watchList.filter(x => x.Director === "Christopher Nolan").map(x => Number(x.imdbRating)).reduce((xi, x2) => x1 + x2) / watchList.filter(x => x.Director === "Christopher Nolan").length;

// Add your code above this line


Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3223.0 Safari/537.36.

Link to the challenge:

In the reduce part you have a typo - xi vs x1.

thankss… got it now