Change the name of the method initArray()