optimize the output shows.