Improved output for scanning