Formating doc