Changing doc format