simulator for transactions