click to resample