can we have this function take another parameter,  "dataset_type",  even if for now we default this to 'package' for now.