changed Number Array to Array<Number>