incorporating stack trace preview