Batchsampling modifications