changed array initializers from [] to array()