display the array of data in sets