beginning of code to combine data into one data table.