resample revision