check sampling of input data