What to do with rand_resize_crop?

I am trying to add additional transforms to the MNIST example.
zoom_crop is easy:
zc = zoom_crop(scale=(0.75,2), do_rand=True)
tfms = get_transforms(do_flip=False )
data = (ImageList.from_folder(’/data/’)
.split_by_folder()
.label_from_folder()
.add_test_folder()
.transform(tfms, size = bs, xtra_tfms = zc)
.databunch())

but I cannot understand (and the forum does not help) how to add
rand_resize_crop?
No matter what I do, I keep getting the error:
“Exception: It’s not possible to apply those transforms to your dataset:
‘list’ object has no attribute ‘name’”