use a StringBuilder to build up what you actually want to display and print that