better to use autocommit mode