Added missing function keywords