more resampling notes