Improved output in printing