changed array initialization

changed array initialization