extracting StackTrace utility class