NEW: implemented the display method