added bulkInsert() method