midifying the doc