changes to convert the data into a single array