modified the creation of the tidy data set