implemented stacktrace support