added missing function declaration