add force resampling
update example