Moved transaction closer to where it's workign
indent error