prettified the documents