add missing function needed by commit #8ad0d1de49