adding stacktrace output too