integrating batch inserts