Fix for issue #2: missing function call