using extension var in ensureExtension function