Added some transaction stuff