adding auto commit control back in