added array number to data output