transactions code