debugging transaction  functionality