beautify result print