Corrected array initialization