reads in datasets