Restored missing function