started resampling template