changed the display method