Formating of the doc