changed array initialization