Changed [] to array