batchinsert version of 0027 with library
