Return by value from invokeFunc()