add batchSample and batchSample141 for testing migration to 141