Formatting of doc