Adding missing function keyword