formatting doc