finishing transactions