improve the output format
improve the debug output
improve the debug output