took out TSV function and added array of data