Changed the way the array was created.