added doctags, removed doc-mode