working crud for transactions