Added numberArray function