example of displaying the data