minor refactoring: creating a statement will create a few transactions in it