second data set functioning