The description says this function returns an object but here and above it just returns undefined.   Is calling code ready for that?