documenting functions in global scope