traceback utils, first draft