array initialization corrected