reverted n_datasets to n_subjects