handling missing function