adding missing function declaration