still fixing insertBatch