resampling finished but not yet tested