Correcting array syntax