Getting the NaN (Not a Number) in console.