fixing new array syntax