Changed the name of index to numberList