changed array declaration