Adding missing function declaration