add the simplest resampling