Added control of transaction state