Add display function for output.