Hack for transactions