implemented tracebacks and function binding