viewdoc was added