Created a private class to encapsulate the information that needs to be
shown.