use iter_docs for helper functions