missing function. thanks jpfox