let's be defensive about `options` not being defined here, even though it's internal use