correct command for resample