added methods for transaction handling