Random stuff
Improvements on transactions