convert whole data set