corrected array initialization