added more doctree implementations
added more implementations