Changed display-result function.