incorporating stacktrace preview