Rudimentary resampling