doc_func added