added missing function prototype