what happens if data is already an array?