documentation generator improved