Worked on checking top elements of stacktraces