add functions to documentation