changed session to bulkinsert