working on TermDebugger