using batchInsert