Add the display function.