debugging transaction functionality