documenting the display method