In the process of debugging resampling