using element.extensions directly without querying