prettify with formatting