add all doc1 functions