doc reformating