make formats unique
Modified code to print out 1 sec data in array before sampling