added the enum type: resampling methods