More functionality added to the resampling step.