add missing function param