added the missing function documentation