finished first step for transactions, needs more work