work on MetaDataset constructor