add documentation for transactions
document transactions