change transaction variable name
add db adapter