Added missing function calls